Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
vect
/
pr51485.cc
blob: 26fcdcfd7c274fcc567f9b9fc98a1ba69639d803 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
struct
A
{
A
();
unsigned
int
a
;
};
double
bar
(
A a
)
throw
()
__attribute__
((
pure
));
void
foo
(
unsigned
int
x
,
double
*
y
,
A
*
z
)
{
unsigned
int
i
;
for
(
i
=
0
;
i
<
x
;
i
++)
y
[
i
]
=
bar
(
z
[
i
]);
}