]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/5.cc
Use effective-target instead of -std options
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / forward_list / requirements / explicit_instantiation / 5.cc
index 8018b69f58c56e3539b6186ea32dbc2224d09887..bdd285db3c92b84ef48efb863e1b781b82348416 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++11" }
 
 // Copyright (C) 2011-2016 Free Software Foundation, Inc.
 //
@@ -22,7 +21,7 @@
 #include <forward_list>
 #include <testsuite_allocator.h>
 
-// { dg-do compile }
+// { dg-do compile { target c++11 } }
 
 // libstdc++/50118
 template class std::forward_list<int, __gnu_test::ExplicitConsAlloc<int>>;