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 78aafc6cf2165141f7bca4d769caeb1ce71f5554..7c19741afbda33b9c716633b4a6ed6c0905c6de9 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 4346b3b6b8c60eca7fe29f1df0b2e83e437711c4..b9fd3194fe9e52a7a51d61d49c8b7ec46bf0e2fc 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.
 //