summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-12-07 15:22:37 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2016-12-07 15:22:37 +0000
commit101ee3cc73dc50f11233b857614b786fcab06c98 (patch)
tree5196f07d2447d8aca9800e0012a7aeaef7fc16b2 /libstdc++-v3
parent63915a91ab7120c3d604fa0a90ca357875ec22a6 (diff)
downloadgcc-101ee3cc73dc50f11233b857614b786fcab06c98.tar.gz
Disable test using std::set_unexcepted for C++17
* testsuite/18_support/bad_exception/59392.cc: Disable for C++17. From-SVN: r243351
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/testsuite/18_support/bad_exception/59392.cc3
2 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e92e6d8a541..c9cf692725d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2016-12-07 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/18_support/bad_exception/59392.cc: Disable for C++17.
+
* testsuite/18_support/headers/new/synopsis.cc: Add C++14 and C++17
declarations.
* testsuite/18_support/headers/new/synopsis_cxx98.cc: New test.
diff --git a/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc b/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc
index 1f11e7aaf7b..717f229850f 100644
--- a/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc
+++ b/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc
@@ -15,6 +15,9 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
+// { dg-options "-Wno-deprecated" }
+// { dg-do run { target c++14_down } }
+
#include <exception>
#include <cstdlib>