diff options
Diffstat (limited to 'libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc')
-rw-r--r-- | libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc b/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc index 47d8f15e317..8ce8992947a 100644 --- a/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc +++ b/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc @@ -1,4 +1,5 @@ // { dg-do compile } +// { dg-options "-std=gnu++11" } // Copyright (C) 2007-2013 Free Software Foundation, Inc. // @@ -25,6 +26,7 @@ namespace std { extern const nothrow_t nothrow; typedef void (*new_handler)(); new_handler set_new_handler(new_handler new_p) throw(); + new_handler get_new_handler() noexcept; } void* operator new(std::size_t size) throw(std::bad_alloc); |