]> gcc.gnu.org Git - gcc.git/commitdiff
Fix invalid dg-do directive
authorJonathan Wakely <jwakely@redhat.com>
Wed, 17 Aug 2016 19:58:44 +0000 (20:58 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 17 Aug 2016 19:58:44 +0000 (20:58 +0100)
* testsuite/20_util/reference_wrapper/invoke-2.cc: Fix invalid dg-do
directive and use effective target instead of dg-options.

From-SVN: r239548

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc

index a6736b3abab8578f94efcc83a814954cf8ead427..387026fb30a9dd37fd749013a0418a3a5560555e 100644 (file)
@@ -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.
index 89b81ac94a0a588256e1fdfdeca0f60ba183b1b7..85803ba0ccd75e07beef09d6f6b398712b78876b 100644 (file)
@@ -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
This page took 0.070578 seconds and 5 git commands to generate.