From: Jason Merrill Date: Fri, 16 May 2025 12:22:08 +0000 (-0400) Subject: c++: one more coro test tweak X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8404a95e3e5c9e297dfeb8175f9ebd52afe4410;p=thirdparty%2Fgcc.git c++: one more coro test tweak 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 }. --- 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