summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/libstdc++-xmethods
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-08-26 12:41:37 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-08-26 12:41:37 +0100
commit52066eae5d3dd6b7c0a1b843469582dbdbb941eb (patch)
tree95c9553da61de9d5427f8374ba3b15541eaf0709 /libstdc++-v3/testsuite/libstdc++-xmethods
parente8223484b3a8b8bbe20dfd70706e3da626f2b962 (diff)
Use effective-target instead of -std options
* testsuite/*: Use { target c++11 } or { target c++14 } instead of using -std in dg-options. From-SVN: r239777
Diffstat (limited to 'libstdc++-v3/testsuite/libstdc++-xmethods')
-rw-r--r--libstdc++-v3/testsuite/libstdc++-xmethods/array.cc4
-rw-r--r--libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc4
-rw-r--r--libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc4
-rw-r--r--libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc4
4 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc
index ce25c615d74..e845ab8c0b8 100644
--- a/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc
+++ b/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc
@@ -1,5 +1,5 @@
-// { dg-do run }
-// { dg-options "-std=gnu++11 -g -O0" }
+// { dg-do run { target c++11 } }
+// { dg-options "-g -O0" }
// Copyright (C) 2014-2016 Free Software Foundation, Inc.
//
diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc
index b09a6ce64bd..6cfe215c787 100644
--- a/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc
+++ b/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc
@@ -1,5 +1,5 @@
-// { dg-do run }
-// { dg-options "-std=gnu++11 -g -O0" }
+// { dg-do run { target c++11 } }
+// { dg-options "-g -O0" }
// Copyright (C) 2014-2016 Free Software Foundation, Inc.
//
diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc
index 3466b3b9fc1..561c491354f 100644
--- a/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc
+++ b/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc
@@ -1,5 +1,5 @@
-// { dg-do run }
-// { dg-options "-std=gnu++11 -g -O0" }
+// { dg-do run { target c++11 } }
+// { dg-options "-g -O0" }
// Copyright (C) 2014-2016 Free Software Foundation, Inc.
//
diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
index 11d172b3021..bb303a2c665 100644
--- a/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
+++ b/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
@@ -1,5 +1,5 @@
-// { dg-do run }
-// { dg-options "-std=gnu++11 -g -O0" }
+// { dg-do run { target c++11 } }
+// { dg-options "-g -O0" }
// Copyright (C) 2014-2016 Free Software Foundation, Inc.
//