Sign in
llvm
/
llvm-project.git
/
refs/heads/users/wlei-llvm/spr/tmp-add-func-map-section-header
/
.
/
clang
/
test
/
Sema
/
bpf-attr-preserve-static-offset-warns-nonbpf.c
blob: d543e6f999529d0a96539c2879f7b677472ed6c1 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
#define
__pso __attribute__
((
preserve_static_offset
))
struct
foo
{
int
a
;
}
__pso
;
// expected-warning{{unknown attribute}}
union
quux
{
int
a
;
}
__pso
;
// expected-warning{{unknown attribute}}