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
This commit is contained in:
Jonathan Wakely 2019-06-07 20:57:28 +01:00 committed by Jonathan Wakely
parent 2b32668568
commit c1b4c4f491
2 changed files with 4 additions and 1 deletions

View 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.

View 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.
//