change to bogus errors

From-SVN: r22123
This commit is contained in:
Jason Merrill 1998-08-30 22:25:51 -04:00
parent 8309458a2a
commit ef869e71ae
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ public:
void f() {}
};
int g() { return 0; } // ERROR - global decl of g
int g() { return 0; } // gets bogus error - referenced below XFAIL *-*-*
main()
{
@ -20,5 +20,5 @@ main()
B( try1 ).f(); // no syntax error
B b( g() ); // no syntax error
B( ::g() ).f(); // no syntax error
B( g() ).f(); // syntax error before `.' // ERROR - parse error
B( g() ).f(); // gets bogus error - treated as decl XFAIL *-*-*
}