Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
union3.C
blob: 67903b761b194723093ef4c13b29daa614e252d1 [
file
] [
log
] [
blame
]
// { dg-do run }
// Origin: Mark Mitchell <mark@codesourcery.com>
struct
A
{
union
{
int
i
;
};
int
j
;
A
();
};
A
::
A
()
:
i
(
1
),
j
(
i
=
0
)
{
}
int
main
()
{
A a
;
return
a
.
i
;
}