libstdc++: Add explicit -std=gnu++98 to tests that use { target c++98_only }
libstdc++-v3/ChangeLog: * testsuite/23_containers/deque/requirements/explicit_instantiation/2.cc: Add dg-options to restrict the test to C++98 mode. * testsuite/23_containers/list/requirements/explicit_instantiation/2.cc: Likewise.
This commit is contained in:
parent
c34ad4bc19
commit
0eb35092de
2 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
#include <deque>
|
||||
#include <testsuite_api.h>
|
||||
|
||||
// { dg-options "-std=gnu++98" }
|
||||
// { dg-do compile { target c++98_only } }
|
||||
|
||||
// N.B. Since C++11 we cannot instantiate with T == NonDefaultConstructible
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <list>
|
||||
#include <testsuite_api.h>
|
||||
|
||||
// { dg-options "-std=gnu++98" }
|
||||
// { dg-do compile { target c++98_only } }
|
||||
|
||||
// N.B. Since C++11 we cannot instantiate with T == NonDefaultConstructible
|
||||
|
|
Loading…
Add table
Reference in a new issue