aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc')
-rw-r--r--libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc b/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc
index 2f0bae4..de35ec4 100644
--- a/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc
+++ b/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc
@@ -24,7 +24,7 @@ namespace std {
class bad_exception;
typedef void (*unexpected_handler)();
- unexpected_handler set_unexpected(unexpected_handler f ) throw();
+ unexpected_handler set_unexpected(unexpected_handler f ) throw(); // { dg-warning "deprecated" { target c++11 } }
unexpected_handler get_unexpected() noexcept;
void unexpected();