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-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
Sema
/
bpf-attr-preserve-access-index.cpp
blob
4a88ec2eda3c6629515cf2f9bfd70008fee68685
1
// RUN: %clang_cc1 -x c++ -triple bpf-pc-linux-gnu -dwarf-version=4 -fsyntax-only -verify %s
2
3
#define __reloc__ __attribute__((preserve_access_index))
4
5
struct
t1
{
6
int
a
;
7
int
b
[
4
];
8
int
c
:
1
;
9
}
__reloc__
;
// expected-warning {{'preserve_access_index' attribute ignored}}