Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
aggregate.C
blob: f739e56d0f2375561c3baeb51214b218ff4a7d43 [
file
] [
log
] [
blame
]
// { dg-do run }
struct
A
{
int
i
;
};
int
main
()
{
A a1
=
{
42
};
A a2
(
a1
);
A a3
=
{
137
};
a1
=
a3
;
if
(
a1
.
i
==
137
&&
a2
.
i
==
42
&&
a3
.
i
==
137
)
return
0
;
return
1
;
}