anon-struct.C: No longer fails
* 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
This commit is contained in:
parent
848eed9249
commit
53101fd1dd
@ -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.
|
||||
|
@ -5,5 +5,5 @@ namespace N { }
|
||||
|
||||
namespace M
|
||||
{
|
||||
typedef struct { } N; // { dg-bogus ".*" "" { xfail *-*-* } }
|
||||
typedef struct { } N;
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user