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