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.preudho...@arm.com>

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


Best regards,

Thomas
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 }

Reply via email to