Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr60895.C
blob: 0edd36ada163a716c91aa704fafa94c3490c8181 [
file
] [
log
] [
blame
]
// { dg-do compile }
struct
C
{
double
elems
[
3
];
};
C
foo
()
{
C a
;
double
*
f
=
a
.
elems
;
int
b
;
for
(;
b
;)
{
*
f
=
0
;
++
f
;
}
return
a
;
}
struct
J
{
C c
;
__attribute__
((
always_inline
))
J
()
:
c
(
foo
())
{}
};
void
bar
()
{
J
();
}