From-SVN: r23693
This commit is contained in:
Jason Merrill 1998-11-17 21:25:18 -05:00
parent 7a78c20bc9
commit 35ea5ad303
3 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
extern "C" extern "C"
{ {
struct xx { struct xx {
void (*xx)(void); void (*xx)(void); // ERROR - field with name of class
int x,y; int x,y;
}; };
} }

View File

@ -1,4 +0,0 @@
// Build don't link:
struct S { int S; } object;
struct S function () { return object; }

View File

@ -7,5 +7,5 @@ struct S1 {
static int S1; // ERROR - uses same name 9.3 static int S1; // ERROR - uses same name 9.3
}; };
struct S2 { struct S2 {
union { int ii; float S2; }; // ERROR - uses same name 9.3 , XFAIL *-*-* union { int ii; float S2; }; // ERROR - uses same name 9.3
}; };