Sign in
llvm
/
llvm-project
/
clang
/
3f3c50c68dd03908c44d56e3fe88e28e30202dc4
/
.
/
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}}