]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/shared_ptr/casts/1.cc
Use effective-target instead of -std options
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / shared_ptr / casts / 1.cc
index a97bb9d1c2d3397f88b6877648e4f48efb72afd8..d983d0346605c44d7756a1206d748161064c6c3a 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do compile { target c++11 } }
 
 // Copyright (C) 2006-2016 Free Software Foundation, Inc.
 //
@@ -22,8 +22,6 @@
 #include <memory>
 #include <testsuite_tr1.h>
 
-// { dg-do compile }
-
 struct MyP { virtual ~MyP() { }; };
 struct MyDP : MyP { };