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