change to bogus errors
authorJason Merrill <jason@gcc.gnu.org>
Mon, 31 Aug 1998 02:25:51 +0000 (22:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 31 Aug 1998 02:25:51 +0000 (22:25 -0400)
From-SVN: r22123

gcc/testsuite/g++.old-deja/g++.brendan/parse4.C

index 03c7d47c982388381872448b959797de379bcf48..d60cefeb3e5dddac0b4707a7502de1377c8c9c2e 100644 (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 *-*-*
 }