8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/921017-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

16 lines
138 B
C

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);
}