Debian Codegraph @

clang/test/Sema/bpf-attr-preserve-static-offset-warns-nonbpf.c

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 #define __pso __attribute__((preserve_static_offset))
4
5 struct foo { int a; } __pso; // expected-warning{{unknown attribute}}
6 union quux { int a; } __pso; // expected-warning{{unknown attribute}}