Commit 0603b640 by Brendan Kehoe

fix test

From-SVN: r22026
parent e907984f
......@@ -12,7 +12,7 @@ public:
void f() {}
};
int g() { return 0; }
int g() { return 0; } // ERROR - global decl of g
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 -
B( g() ).f(); // syntax error before `.' // ERROR - parse error
}
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