diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-26 11:41:37 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-26 11:41:37 +0000 |
commit | be58e01da55c6dbbfe20e7bcbac6b7b354052ca8 (patch) | |
tree | 95c9553da61de9d5427f8374ba3b15541eaf0709 /libstdc++-v3/testsuite/20_util/is_object | |
parent | 2e60903f7f2ffeae21e499490981b936e59b051c (diff) | |
download | gcc-be58e01da55c6dbbfe20e7bcbac6b7b354052ca8.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/is_object')
4 files changed, 4 insertions, 9 deletions
diff --git a/libstdc++-v3/testsuite/20_util/is_object/24808.cc b/libstdc++-v3/testsuite/20_util/is_object/24808.cc index 18a96dac16d..f209ca2769f 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/24808.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/24808.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc index 39cf331b9b4..c821ea72c94 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc index 46fe9ec1d1e..1240d873854 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc @@ -1,6 +1,3 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } - // Copyright (C) 2011-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -23,7 +20,7 @@ #include <type_traits> -// { dg-do compile } +// { dg-do compile { target c++11 } } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_object/value.cc b/libstdc++-v3/testsuite/20_util/is_object/value.cc index e77aa929bf9..25eea44d5e2 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // |