Debian Codegraph @

gcc/testsuite/gcc.target/bpf/diag-alloca-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } */
3
4 int
5 foo (int x)
6 {
7 int arr[x];
8 /* { dg-message {sorry, unimplemented: dynamic stack allocation not supported} {} { target *-*-* } .-1 } */
9
10 return arr[3];
11 }