new
From-SVN: r27026
This commit is contained in:
parent
3f969ec092
commit
cb6c8ebb73
12
gcc/testsuite/g++.old-deja/g++.ext/anon1.C
Normal file
12
gcc/testsuite/g++.old-deja/g++.ext/anon1.C
Normal file
@ -0,0 +1,12 @@
|
||||
union U {
|
||||
struct { int i; int j; };
|
||||
int a[2];
|
||||
};
|
||||
|
||||
int main ()
|
||||
{
|
||||
U u;
|
||||
u.i = 42;
|
||||
u.a[1] = 24;
|
||||
return u.j != 24 || u.a[0] != 42;
|
||||
}
|
Loading…
Reference in New Issue
Block a user