summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash28.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/crash28.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/crash28.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/crash28.C b/gcc/testsuite/g++.old-deja/g++.other/crash28.C
index 5ff84edafef..847f2d53116 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/crash28.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/crash28.C
@@ -29,13 +29,13 @@ public:
foo();
void x ()
#if __cplusplus <= 201402L
- throw(bar) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } }
+ throw(bar) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
;
};
void foo::x()
#if __cplusplus <= 201402L
-throw(bar) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } }
+throw(bar) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
if (!b) throw bar (static_cast<::N::X*>(this)); // { dg-error "lambda expressions|expected|invalid" } parse error