Tested x86_64-pc-linux-gnu, applying to trunk.

-- 8< --

After my r16-670, running the testsuite with explicit --stds didn't run this
one in C++17 mode, but the default did.  Let's remove the { target c++17 }
so it doesn't by default, either.

gcc/testsuite/ChangeLog:

        * g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C:
        Remove { target c++17 }.
---
 .../coroutines/pr94760-mismatched-traits-and-promise-prev.C     | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/gcc/testsuite/g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C 
b/gcc/testsuite/g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C
index 90a558d0fe2..5e3608b109b 100644
--- 
a/gcc/testsuite/g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C
+++ 
b/gcc/testsuite/g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C
@@ -1,5 +1,3 @@
-// { dg-do compile  { target c++17 } }
-
 #include "coro.h"
 
 // Test that we get matching types to traits and promise param

base-commit: de3cbcf9730b60db76c31c5b628f4bf2ebd6b284
-- 
2.49.0

Reply via email to