2016-08-02 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Move
+ dg-error to relevant line.
+ * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
+ Likewise.
+ * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
+
* scripts/testsuite_flags.in: Add -fno-show-column to cxxflags.
* testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if
void
test02()
{
- std::ratio<INTMAX_MIN, 1> r1 __attribute__((unused));
+ std::ratio<INTMAX_MIN, 1> r1 __attribute__((unused)); // { dg-error "required from here" }
}
void
test03()
{
- std::ratio<1, INTMAX_MIN> r1 __attribute__((unused));
+ std::ratio<1, INTMAX_MIN> r1 __attribute__((unused)); // { dg-error "required from here"
}
void
test04()
{
- std::ratio<1,0> r1 __attribute__((unused));
+ std::ratio<1,0> r1 __attribute__((unused)); // { dg-error "required from here"
}
-// { dg-error "required from here" "" { target *-*-* } 34 }
-// { dg-error "required from here" "" { target *-*-* } 40 }
-// { dg-error "required from here" "" { target *-*-* } 46 }
// { dg-error "denominator cannot be zero" "" { target *-*-* } 265 }
// { dg-error "out of range" "" { target *-*-* } 266 }
// { dg-error "overflow in constant expression" "" { target *-*-* } 61 }