diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C b/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C index b660e845d5b..7fd35308dc6 100644 --- a/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C +++ b/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C @@ -88,7 +88,7 @@ extern "C" void *realloc (void *p, size_t size) void fn_throw() #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 1; @@ -96,7 +96,7 @@ throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } void fn_rethrow() #if __cplusplus <= 201402L -throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } } +throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } } #endif { try{fn_throw();} @@ -106,7 +106,7 @@ throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } void fn_catchthrow() #if __cplusplus <= 201402L -throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } } +throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } } #endif { try{fn_throw();} |