From f9657322cf085b8b3eac30252af244041bf78352 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 15 Aug 2016 09:14:15 +0000 Subject: [PATCH] re PR testsuite/72840 (PASS->NA: 20_util/ratio/cons/cons_overflow_neg.cc) 2016-08-15 Thomas Preud'homme PR libstdc++/72840 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Fix dg-error syntax. From-SVN: r239463 --- libstdc++-v3/ChangeLog | 6 ++++++ .../testsuite/20_util/ratio/cons/cons_overflow_neg.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 446e8bac71b..2e4fa813dac 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2016-08-15 Thomas Preud'homme + + PR libstdc++/72840 + * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Fix dg-error + syntax. + 2016-08-11 Ville Voutilainen Implement C++17 make_from_tuple. diff --git a/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc b/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc index a101d2938a7..51a7926d35b 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc @@ -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 } -- 2.30.2