+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.
namespace M
{
- typedef struct { } N; // { dg-bogus ".*" "" { xfail *-*-* } }
+ typedef struct { } N;
}
// 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:
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
}
// 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
{
int main()
{
unsigned char b[3];
- buf<3> b2(ptr8(&b[0],3)); // gets bogus error - XFAIL *-*-*
+ buf<3> b2(ptr8(&b[0],3));
}
// 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);
}