Debian Codegraph @

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

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