Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
921017-1.c
blob: a2784f68487cedf827ba03b0aeecebb0e0d3ede3 [
file
] [
log
] [
blame
]
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
/* { dg-require-effective-target trampolines } */
f
(
n
)
{
int
a
[
n
];
int
g
(
i
)
{
return
a
[
i
];
}
a
[
1
]=
4711
;
return
g
(
1
);
}
main
()
{
if
(
f
(
2
)!=
4711
)
abort
();
exit
(
0
);
}