modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/921017-1.c (about) 1 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */ 2 /* { dg-require-effective-target trampolines } */ 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 }