Adjust effective target selector to fix C++17 FAIL
authorJonathan Wakely <jwakely@redhat.com>
Tue, 10 Jan 2017 17:44:42 +0000 (17:44 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 10 Jan 2017 17:44:42 +0000 (17:44 +0000)
* testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust
effective target selector to prevent running in C++17 mode.

From-SVN: r244280

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc

index da1bfe65db9172b63d41ca50897233d918f23fc9..e3101e174684d566e2566bfa8aec9fb6fc78defe 100644 (file)
@@ -1,5 +1,8 @@
 2017-01-10  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust
+       effective target selector to prevent running in C++17 mode.
+
        PR libstdc++/77528
        * include/bits/stl_queue.h (queue::c): Add default member initializer.
        (queue::queue()): Add constructor and define as defaulted.
index 356289239a932437218f6f6f79dfa6fcd67864ca..97e3d57f8a545aaefc9fd6084b5f1bd2758ac466 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run { target c++11 } }
+// { dg-do run { target { c++11_only || c++14_only } } }
 
 // Copyright (C) 2014-2017 Free Software Foundation, Inc.
 //