From c1b4c4f49131f16686ace6aa6b3291edd7048e82 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 7 Jun 2019 20:57:28 +0100 Subject: [PATCH] Fix test that gets skipped as unsupported * 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 | 3 +++ libstdc++-v3/testsuite/24_iterators/container_access.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 78aafc6cf21..7c19741afbd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2019-06-07 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/testsuite/24_iterators/container_access.cc b/libstdc++-v3/testsuite/24_iterators/container_access.cc index 4346b3b6b8c..b9fd3194fe9 100644 --- a/libstdc++-v3/testsuite/24_iterators/container_access.cc +++ b/libstdc++-v3/testsuite/24_iterators/container_access.cc @@ -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. // -- 2.30.2