☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
bpf
/
diag-alloca-2.c
☽
☼
gcc/testsuite/gcc.target/bpf/diag-alloca-2.c
code
plain
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
}