Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-test-suite
/
f8cce5587c37960f53d26daff9cf39ef18330059
/
.
/
SingleSource
/
Regression
/
C
/
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
);
}