summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/new7.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/new7.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/new7.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/new7.C b/gcc/testsuite/g++.old-deja/g++.other/new7.C
index 82eabb6d7d8..56ed376d232 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/new7.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/new7.C
@@ -15,7 +15,7 @@ struct X {
}
void* operator new ( std::size_t n )
#if __cplusplus <= 201402L
- throw ( std::bad_alloc ) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } }
+ throw ( std::bad_alloc ) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
new_flag = true;