☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Sema
/
bpf-attr-preserve-static-offset-warns-nonbpf.c
☽
☼
clang/test/Sema/bpf-attr-preserve-static-offset-warns-nonbpf.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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}}