Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/921017-1.c

raw
1 /* { dg-require-effective-target trampolines } */
2 /* { dg-additional-options "-std=gnu89" } */
3
4 f(n)
5 {
6 int a[n];
7 int g(i)
8 {
9 return a[i];
10 }
11 a[1]=4711;
12 return g(1);
13 }
14 main()
15 {
16 if(f(2)!=4711)abort();
17
18 exit(0);
19 }