aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/throw2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.eh/throw2.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.eh/throw2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/throw2.C b/gcc/testsuite/g++.old-deja/g++.eh/throw2.C
index b4296ac..957c200 100644
--- a/gcc/testsuite/g++.old-deja/g++.eh/throw2.C
+++ b/gcc/testsuite/g++.old-deja/g++.eh/throw2.C
@@ -6,7 +6,7 @@
void athrow(const ANY & e)
#if __cplusplus <= 201402L
-throw(ANY) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } }
+throw(ANY) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
throw e; // { dg-bogus "" } discarding const