diff mbox

[libstdc++] Fixed PR72840: dg-error syntax in 20_util/ratio/cons/cons_overflow_neg.cc as obvious

Message ID d97ee3a8-10d1-d6f9-4263-d4cdaff2f715@foss.arm.com
State New
Headers show

Commit Message

Thomas Preudhomme Aug. 15, 2016, 9:16 a.m. UTC
Libstdc++-v3's test 20_util/ratio/cons/cons_overflow_neg.cc is missing closing 
curly braces for 2 dg-error directives, making them be ignored by dejagnu. Fixed 
as obvious.

ChangeLog entry is as follows:

*** libstdc++-v3/ChangeLog ***

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.


Best regards,

Thomas
diff mbox

Patch

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 a101d2938a798324a56fb0ba4e503a9e66b30001..51a7926d35b4cdc0fe5e7bd23c805dfccfb77a44 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 }