OSDN Git Service

change to bogus errors
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Aug 1998 02:25:51 +0000 (02:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Aug 1998 02:25:51 +0000 (02:25 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22123 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 03c7d47..d60cefe 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 *-*-*
 }