diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-08-26 12:41:37 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-08-26 12:41:37 +0100 |
commit | 52066eae5d3dd6b7c0a1b843469582dbdbb941eb (patch) | |
tree | 95c9553da61de9d5427f8374ba3b15541eaf0709 /libstdc++-v3/testsuite/20_util/is_reference | |
parent | e8223484b3a8b8bbe20dfd70706e3da626f2b962 (diff) | |
download | gcc-52066eae5d3dd6b7c0a1b843469582dbdbb941eb.tar.gz |
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/20_util/is_reference')
3 files changed, 3 insertions, 6 deletions
diff --git a/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc index 892b64b0438..3714b09cc08 100644 --- a/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini <pcarlini@suse.de> // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc index 500ef8c6657..9e647db79d3 100644 --- a/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // 2007-06-02 Paolo Carlini <pcarlini@suse.de> // // Copyright (C) 2007-2016 Free Software Foundation, Inc. @@ -23,7 +22,7 @@ #include <type_traits> -// { dg-do compile } +// { dg-do compile { target c++11 } } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_reference/value.cc b/libstdc++-v3/testsuite/20_util/is_reference/value.cc index 44e7e88af51..7c9ab0316bd 100644 --- a/libstdc++-v3/testsuite/20_util/is_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini <pcarlini@suse.de> // |