diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2016-08-15 09:14:15 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2016-08-15 09:14:15 +0000 |
commit | f9657322cf085b8b3eac30252af244041bf78352 (patch) | |
tree | e87d0835cb80e2fb1d25cf894e5e1498e91b81d1 | |
parent | 660880654ab4076aeb85498be24440dfb5a6638d (diff) | |
download | gcc-f9657322cf085b8b3eac30252af244041bf78352.zip gcc-f9657322cf085b8b3eac30252af244041bf78352.tar.gz gcc-f9657322cf085b8b3eac30252af244041bf78352.tar.bz2 |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/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 446e8ba..2e4fa81 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. 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 a101d29..51a7926 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 } |