]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc
Use effective-target instead of -std options
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / ratio / operations / ops_overflow_neg.cc
index 1a6bc52d7e0d7d0db7e15aa36a1344207b1a6ba8..7c40001365c3be9bdf10f90bfeb4c057ffd86f64 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-do compile }
-// { dg-options "-std=gnu++11" }
+// { dg-do compile { target c++11 } }
 // { dg-require-cstdint "" }
 
 // 2008-07-03 Chris Fairles <chris.fairles@gmail.com>
@@ -39,9 +38,9 @@ test02()
     __attribute__((unused));
 }
 
-// { dg-error "required from here" "" { target *-*-* } 29 }
-// { dg-error "expected initializer" "" { target *-*-* } 36 }
-// { dg-error "expected initializer" "" { target *-*-* } 38 }
+// { dg-error "required from here" "" { target *-*-* } 28 }
+// { dg-error "expected initializer" "" { target *-*-* } 35 }
+// { dg-error "expected initializer" "" { target *-*-* } 37 }
 // { dg-error "overflow in addition" "" { target *-*-* } 451 }
 // { dg-error "overflow in multiplication" "" { target *-*-* } 97 }
 // { dg-error "overflow in multiplication" "" { target *-*-* } 99 }