diff mbox

[1/3] Disable test using std::set_unexcepted for C++17

Message ID 20161207152244.GU6326@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely Dec. 7, 2016, 3:22 p.m. UTC
This function has been removed from C++17, along with dynamic
exception specifications. We haven't removed the function from the
headers yet, but this ensures the test won't start failing once the
front end starts giving an error for the exceptions specs.

	* testsuite/18_support/bad_exception/59392.cc: Disable for C++17.

Tested powerpc64le-linux, committed to trunk.
diff mbox

Patch

commit dcd76a3e0fb57c41eb8c89bc39f0d543c268f7fb
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Dec 7 13:11:36 2016 +0000

    Disable test using std::set_unexcepted for C++17
    
    	* testsuite/18_support/bad_exception/59392.cc: Disable for C++17.

diff --git a/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc b/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc
index 1f11e7a..717f229 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>