re PR c++/49272 (FAIL: g++.old-deja/g++.jason/rfg10.C (test for errors, line 11))
authorJason Merrill <jason@redhat.com>
Wed, 29 Jun 2011 17:38:53 +0000 (13:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 29 Jun 2011 17:38:53 +0000 (13:38 -0400)
PR c++/49272
* g++.old-deja/g++.jason/rfg10.C: Accept other overflow error too.

From-SVN: r175659

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.jason/rfg10.C

index d817d854cfb275d7b6320c719f2398a2b418aec1..a4ccb073b8f1f624c62e7549ca8e318d5386291c 100644 (file)
@@ -1,5 +1,8 @@
 2011-06-29  Jason Merrill  <jason@redhat.com>
 
+       PR c++/49272
+       * g++.old-deja/g++.jason/rfg10.C: Accept other overflow error too.
+
        PR c++/49520
        * g++.dg/cpp0x/constexpr-using2.C: New.
 
index 8769f5afc4604ab0970c7a786a33ffe74a829b0b..75680748e0130e82358566358266da373e9dc0dd 100644 (file)
@@ -8,5 +8,5 @@ enum COLOR
 {
     red,
     green = ULONG_MAX,
-    blue                    // { dg-error "too large for .unsigned long" }
+    blue                    // { dg-error "too large for .unsigned long|overflow" }
 };