Add c++11 effective target to tests for C++11 features
authorJonathan Wakely <jwakely@redhat.com>
Wed, 17 Aug 2016 19:23:15 +0000 (20:23 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 17 Aug 2016 19:23:15 +0000 (20:23 +0100)
* testsuite/20_util/tuple/67844.cc: Require c++11 effective target.
* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Likewise.
* testsuite/27_io/rvalue_streams.cc: Likewise.

From-SVN: r239545

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/tuple/67844.cc
libstdc++-v3/testsuite/20_util/tuple/cons/nested_tuple_construct.cc
libstdc++-v3/testsuite/27_io/rvalue_streams.cc

index d8c5fe377d4eaca9f933ca75b73754788d648a5a..ec595d8692baeed8b2e9f19a82ab163ba4148c82 100644 (file)
@@ -1,5 +1,9 @@
 2016-08-17  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/20_util/tuple/67844.cc: Require c++11 effective target.
+       * testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Likewise.
+       * testsuite/27_io/rvalue_streams.cc: Likewise.
+
        * testsuite/26_numerics/complex/literals/types.cc: Add comment.
 
        * testsuite/21_strings/basic_string_view/operations/rfind/char/2.cc:
index 0416a51a20264b8741bfb0c85d00dd186cab3612..d515b7bebb3cf6fef68d4c6b499742ab1e84c11a 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile }
+// { dg-do compile { target c++11 } }
 
 // Copyright (C) 2015-2016 Free Software Foundation, Inc.
 //
index 7f6423913d8f978c433728ebbafb7d1aded93b08..39ae516312b93274ae00e6119253b1fb0bf478bc 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-do run { target c++11 } }
+
 // Copyright (C) 2015-2016 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
index 5918595acbcf678572101826172d00dd18b36ef9..f232c11d18d1fd4972871c8d0ae1dcc37bab6b18 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do run }
+// { dg-do run { target c++11 } }
 
 #include <sstream>
 #include <string>