☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
bpf
/
core-options-2.c
☽
☼
gcc/testsuite/gcc.target/bpf/core-options-2.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-gbtf -gtoggle" } */
3
4
struct A {
5
int x;
6
int y;
7
char c;
8
};
9
10
int
11
foo (struct A *a) {
12
int y = __builtin_preserve_access_index (a->y); /* { dg-error "BPF CO-RE is required" } */
13
return y;
14
}