repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Sema
/
bpf-attr-preserve-static-offset-warns-nonbpf.c
blob
d543e6f999529d0a96539c2879f7b677472ed6c1
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}}