re PR testsuite/72840 (PASS->NA: 20_util/ratio/cons/cons_overflow_neg.cc)

2016-08-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    PR libstdc++/72840
    * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Fix dg-error
    syntax.

From-SVN: r239463
This commit is contained in:
Thomas Preud'homme 2016-08-15 09:14:15 +00:00 committed by Thomas Preud'homme
parent 660880654a
commit f9657322cf
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2016-08-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
PR libstdc++/72840
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Fix dg-error
syntax.
2016-08-11 Ville Voutilainen <ville.voutilainen@gmail.com>
Implement C++17 make_from_tuple.

View File

@ -37,13 +37,13 @@ test02()
void
test03()
{
std::ratio<1, INTMAX_MIN> r1 __attribute__((unused)); // { dg-error "required from here"
std::ratio<1, INTMAX_MIN> r1 __attribute__((unused)); // { dg-error "required from here" }
}
void
test04()
{
std::ratio<1,0> r1 __attribute__((unused)); // { dg-error "required from here"
std::ratio<1,0> r1 __attribute__((unused)); // { dg-error "required from here" }
}
// { dg-error "denominator cannot be zero" "" { target *-*-* } 265 }