Commit d4934326 by Ollie Wild Committed by Ollie Wild

using16.C: Merge dg-errors with common line.

	* g++.dg/lookup/using16.C: Merge dg-errors with common line.
	* g++.dg/lookup/using17.C: Merge dg-errors with common line.

From-SVN: r126218
parent 38bb3485
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.
......@@ -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 }}
......@@ -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" "" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment