anon-struct.C: No longer fails
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 29 Dec 2002 15:13:12 +0000 (15:13 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 29 Dec 2002 15:13:12 +0000 (15:13 +0000)
* g++.dg/other/anon-struct.C: No longer fails
* g++.old-deja/g++.brendan/parse4.C: Likewise.
* g++.old-deja/g++.brendan/parse5.C: Likewise.
* g++.old-deja/g++.brendan/parse6.C: Likewise.

From-SVN: r60602

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/anon-struct.C
gcc/testsuite/g++.old-deja/g++.brendan/parse4.C
gcc/testsuite/g++.old-deja/g++.brendan/parse5.C
gcc/testsuite/g++.old-deja/g++.brendan/parse6.C

index c5c16d0075f7c58ffacc5df3aa156eed2dc003b6..8dc845141f5fdd2710f8fe7ce0f61d0df2509ebc 100644 (file)
@@ -1,3 +1,10 @@
+2002-12-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * g++.dg/other/anon-struct.C: No longer fails
+       * g++.old-deja/g++.brendan/parse4.C: Likewise.
+       * g++.old-deja/g++.brendan/parse5.C: Likewise.
+       * g++.old-deja/g++.brendan/parse6.C: Likewise.
+
 2002-12-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * g++.dg/parse/angle-bracket.C (main): No longer fails.
index d045910cc3f28f5b67fc95422723d424b0c5143a..a23e8094e4ad06c404efddd4ac6974e23950c33f 100644 (file)
@@ -5,5 +5,5 @@ namespace N { }
 
 namespace M
 {
-  typedef struct { } N;         // { dg-bogus ".*" "" { xfail *-*-* } }
+  typedef struct { } N; 
 }
index e31af0b9d65899e31e65abc9130dc16f9a7ec668..48f37e5484e0f9fd8b4cbac28d62f5a202069a62 100644 (file)
@@ -1,10 +1,5 @@
 // Build don't link: 
 
-// this is marked as an expected error because it evidences an
-// ambiguity in the grammar between expressions and declarations.
-// when the parser's been cleaned up or rewritten, the error
-// marker can go away, since it'll no longer occur.
-
 class B
 {
 public:
@@ -12,13 +7,13 @@ public:
     void f() {}
 };
 
-int g() { return 0; } // gets bogus error - referenced below
+int g() { return 0; } // referenced below
 
 int main()
 {
     int try1;
     B( try1 ).f();   // no syntax error
     B b( g() );      // no syntax error
-    B( ::g() ).f();  // gets bogus error - treated as decl XFAIL *-*-*
-    B( g() ).f();    // gets bogus error - treated as decl XFAIL *-*-*
+    B( ::g() ).f();  // no syntax error
+    B( g() ).f();    // no syntax error
 }
index 81a5fe649b1859cad5aa85063f2d4a5e844db9f6..9895da007a363940ad85306a3fa651212fff40e1 100644 (file)
@@ -1,9 +1,5 @@
 // Build don't link: 
 
-// this is marked as an expected error because it evidences an
-// ambiguity in the grammar between expressions and declarations.
-// when the parser's been cleaned up or rewritten, the error
-// marker can go away, since it'll no longer occur.
 
 class ptr8
    {
@@ -21,5 +17,5 @@ public:
 int main()
    {
    unsigned  char b[3];
-   buf<3> b2(ptr8(&b[0],3)); // gets bogus error - XFAIL *-*-*
+   buf<3> b2(ptr8(&b[0],3)); 
    }
index d5ece06910305d5da49edaa76cb73a706f8563c4..9468011f65c2e1143817cda533aa94f0c1f5cb14 100644 (file)
@@ -1,13 +1,8 @@
 // Build don't link: 
 
-// this is marked as an expected error because it evidences an
-// ambiguity in the grammar between expressions and declarations.
-// when the parser's been cleaned up or rewritten, the error
-// marker can go away, since it'll no longer occur.
-
 class A { };
 
 int main()  {
   A a = a;
-  A b(b); // gets bogus error - XFAIL *-*-*
+  A b(b); 
 }