Allow std::pair test to run in C++11 mode too
authorJonathan Wakely <jwakely@redhat.com>
Sun, 31 Jul 2016 18:12:28 +0000 (19:12 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 31 Jul 2016 18:12:28 +0000 (19:12 +0100)
* testsuite/20_util/pair/astuple/get_neg.cc: Use effective-target
c++11 instead of setting -std=gnu++14.

From-SVN: r238925

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/pair/astuple/get_neg.cc

index b79a4053afd585410627b4e8adfed4b8c127a85b..9c3af44ee81fda169470d20fb4a5f0c81bef2c98 100644 (file)
@@ -1,5 +1,8 @@
 2016-07-31  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/20_util/pair/astuple/get_neg.cc: Use effective-target
+       c++11 instead of setting -std=gnu++14.
+
        PR libstdc++/72745
        * include/std/array (get): Use positive message for static assertions.
        * include/std/functional (_Safe_tuple_element_t): Fix indentation.
index f980b87ea6ab7e916a70a0b550346691742c27d2..ea251b8338545a9635cbaf40059b0f8ad16a8638 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-do compile }
-// { dg-options "-std=gnu++14" }
+// { dg-do compile { target c++11 } }
 
 // Copyright (C) 2013-2016 Free Software Foundation, Inc.
 //