Commit a0f11804 by Kriang Lerdsuwanakij Committed by Kriang Lerdsuwanakij

ambig3.C: Remove XFAIL.

	* g++.old-deja/g++.jason/ambig3.C: Remove XFAIL.
	* g++.old-deja/g++.other/access6.C: Likewise.
	* g++.old-deja/g++.other/decl1.C: Likewise.
	* g++.old-deja/g++.pt/typename12.C: Likewise.

From-SVN: r60730
parent eea9800f
2003-01-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.jason/ambig3.C: Remove XFAIL.
* g++.old-deja/g++.other/access6.C: Likewise.
* g++.old-deja/g++.other/decl1.C: Likewise.
* g++.old-deja/g++.pt/typename12.C: Likewise.
2002-12-31 Mark Mitchell <mark@codesourcery.com> 2002-12-31 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/namespace1.C: New test. * g++.dg/parse/namespace1.C: New test.
......
...@@ -9,8 +9,8 @@ struct A { ...@@ -9,8 +9,8 @@ struct A {
void f () void f ()
{ {
int i[2], j; int i[2], j;
A a (int (i[1]), j); // gets bogus error - late parsing XFAIL *-*-* A a (int (i[1]), j); // gets bogus error - late parsing
A b (int (i[1]), int j); // function A b (int (i[1]), int j); // function
a.k = 0; // gets bogus error - late parsing XFAIL *-*-* a.k = 0; // gets bogus error - late parsing
b (i, j); b (i, j);
} }
...@@ -6,12 +6,12 @@ struct S { ...@@ -6,12 +6,12 @@ struct S {
}; };
class C { class C {
static const int i = 3; // gets bogus error - private - XFAIL *-*-* static const int i = 3; // gets bogus error - private
public: public:
S<C::i>* f(); // gets bogus error - redeclared - XFAIL *-*-* S<C::i>* f(); // gets bogus error - redeclared
}; };
S<C::i>* C::f() { // gets bogus error - private - XFAIL *-*-* S<C::i>* C::f() { // gets bogus error - private
return 0; return 0;
} }
// Build don't link: // Build don't link:
// Based on a test case by Phil Blecker <tmwg@inxservices.com> // Based on a test case by Phil Blecker <tmwg@inxservices.com>
// excess errors test - XFAIL *-*-* // excess errors test
int foo(int); int foo(int);
int bar() { int bar() {
......
// Special g++ Options: // Special g++ Options:
// execution test - XFAIL *-*-* // execution test
// excess errors test - XFAIL *-*-* // excess errors test
int i = 0; int i = 0;
......
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