summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-17 19:43:13 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-17 19:43:13 +0000
commit791cea687810ef14aa28bfae7967b25f08a98a02 (patch)
tree466b94e1c0433206ad42898908505b05e8e88244 /libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc
parentd021ad476ed0a8c89830b2b195e80a3428d4287b (diff)
downloadgcc-791cea687810ef14aa28bfae7967b25f08a98a02.tar.gz
Use effective target instead of -std in 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. * testsuite/20_util/hash/chi2_q_numeric_pattern_set.cc: Likewise. * testsuite/20_util/hash/chi2_q_uniform_random.cc: Likewise. * testsuite/20_util/hash/quality.cc: Likewise. * testsuite/25_algorithms/heap/moveable.cc: Likewise. * testsuite/25_algorithms/heap/moveable2.cc: Likewise. * testsuite/25_algorithms/nth_element/random_test.cc: Likewise. * testsuite/25_algorithms/partial_sort/random_test.cc: Likewise. * testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise. * testsuite/25_algorithms/sort/random_test.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc')
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc b/libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc
index bb1e8019add..05056561893 100644
--- a/libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/nth_element/random_test.cc
@@ -15,8 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++11" }
-// { dg-options "-std=gnu++11 -DSIMULATOR_TEST" { target simulator } }
+// { dg-options "-DSIMULATOR_TEST" { target simulator } }
+// { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
// 25.4.2 [lib.alg.nth.element]