Fix test that gets skipped as unsupported
authorJonathan Wakely <jwakely@redhat.com>
Fri, 7 Jun 2019 19:57:28 +0000 (20:57 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 7 Jun 2019 19:57:28 +0000 (20:57 +0100)
* testsuite/24_iterators/container_access.cc: Move dg-options before
dg-do directive so the target check uses the -std option.

From-SVN: r272051

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/24_iterators/container_access.cc

index 78aafc6..7c19741 100644 (file)
@@ -1,5 +1,8 @@
 2019-06-07  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/24_iterators/container_access.cc: Move dg-options before
+       dg-do directive so the target check uses the -std option.
+
        PR libstdc++/90770
        * configure: Regenerate.
        * src/Makefile.am (stamp-debug): Also test for missing makefile.
index 4346b3b..b9fd319 100644 (file)
@@ -1,5 +1,5 @@
-// { dg-do run { target c++17 } }
 // { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
 // Copyright (C) 2015-2019 Free Software Foundation, Inc.
 //