brintos

brintos / llvm-project-archived public Read only

0
0
Text · 214 B · 84e210e Raw
8 lines · c
1// RUN: %clang -O0 %s -target bpf -g -c -o /dev/null2// REQUIRES: bpf-registered-target3 4struct ss {5  int a;6};7int foo() { return __builtin_btf_type_id(0, 0) + __builtin_preserve_type_info(*(struct ss *)0, 0); }8