* g++.dg/lookup/using16.C: Merge dg-errors with common line.
authoraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 17:28:53 +0000 (17:28 +0000)
committeraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 17:28:53 +0000 (17:28 +0000)
* g++.dg/lookup/using17.C: Merge dg-errors with common line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126218 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/using16.C
gcc/testsuite/g++.dg/lookup/using17.C

index 4eec59e..40a309f 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-02  Ollie Wild  <aaw@google.com>
+
+       * g++.dg/lookup/using16.C: Merge dg-errors with common line.
+       * g++.dg/lookup/using17.C: Merge dg-errors with common line.
+
 2007-07-02  Richard Sandiford  <richard@codesourcery.com>
 
        * gcc.target/mips/save-restore-1.c: New test.
index e373f37..ff6a80e 100644 (file)
@@ -15,5 +15,4 @@ using namespace M;
 using namespace N;
 
 struct ::S s; // { dg-bogus "ambiguous.*ambiguous" "duplicate error" }
-// { dg-error "reference to 'S' is ambiguous" "" { target *-*-* } 17 }}
-// { dg-error "invalid type" "" { target *-*-* } 17 }
+// { dg-error "reference to 'S' is ambiguous|invalid type" "" { target *-*-* } 17 }}
index 5988885..b98b21a 100644 (file)
@@ -11,5 +11,4 @@ struct S {}; // { dg-error "candidates are: struct S" "candidate 1" }
 
 using namespace M;
 
-struct S s; // { dg-error "reference to 'S' is ambiguous" "" }
-// { dg-error "invalid type in declaration" "" { target *-*-* } 14 }
+struct S s; // { dg-error "reference to 'S' is ambiguous|invalid type in declaration" "" }