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