diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-08-17 20:58:44 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-08-17 20:58:44 +0100 |
commit | 6fbf26cc575cd5d50acc63a0d935744399230435 (patch) | |
tree | d8f2894140af8c196de2caa44400b1be713f3d49 | |
parent | 18a20f3f25a5cfeefa9534face2d882a3acd95dc (diff) | |
download | gcc-6fbf26cc575cd5d50acc63a0d935744399230435.zip gcc-6fbf26cc575cd5d50acc63a0d935744399230435.tar.gz gcc-6fbf26cc575cd5d50acc63a0d935744399230435.tar.bz2 |
Fix invalid dg-do directive
* testsuite/20_util/reference_wrapper/invoke-2.cc: Fix invalid dg-do
directive and use effective target instead of dg-options.
From-SVN: r239548
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a6736b3..387026f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-08-17 Jonathan Wakely <jwakely@redhat.com> + * testsuite/20_util/reference_wrapper/invoke-2.cc: Fix invalid dg-do + directive and use effective target instead of dg-options. + * testsuite/20_util/hash/chi2_q_bit_flip_set.cc: Use effective target instead of -std in dg-options. * testsuite/20_util/hash/chi2_q_bit_string_set.cc: Likewise. diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc index 89b81ac..85803ba 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.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. // // This file is part of the GNU ISO C++ Library. This library is free |