Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
m1.C
blob: ac60535b94bbc4c5cbde1ea67a1fad789904f7ec [
file
] [
log
] [
blame
]
// { dg-do assemble }
int
f1
()
{
struct
A
{
A
()
:
b
(
2
)
{
}
int
fred
()
{
return
b
.
hi_mom
;
}
struct
B
{
int
hi_mom
;
B
(
int
a
)
{
hi_mom
=
a
;
}
};
B b
;
};
A aa
;
return
aa
.
fred
();
}
/* crashes with signal 11 */