Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
anon1.C
blob: 6fc6d2e91f54bb044a51fc1ccadd48ff02a4b78a [
file
] [
log
] [
blame
]
// { dg-do run }
// { dg-options "" }
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
;
}