summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/eh/pr41819.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/eh/pr41819.C')
-rw-r--r--gcc/testsuite/g++.dg/eh/pr41819.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/eh/pr41819.C b/gcc/testsuite/g++.dg/eh/pr41819.C
index 61c65729c9d..adafb324c7f 100644
--- a/gcc/testsuite/g++.dg/eh/pr41819.C
+++ b/gcc/testsuite/g++.dg/eh/pr41819.C
@@ -17,7 +17,7 @@ void f1()
void f2()
#if __cplusplus <= 201402L
-throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } }
+throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
bar();