repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
smatch_data/kernel.unreachable.ignore: add BUG(), WARN_ON() and others
[smatch.git]
/
validation
/
linear
/
bitfield-sign-signed.c
blob
59a07cebebc702cca9414d1408a6cb9dad533a62
1
struct
s
{
2
int
f
:
2
;
3
};
4
5
static int
getf
(
struct
s s
) {
return
s
.
f
; }
6
7
/*
8
* check-name: bitfield-sign-signed
9
* check-command: test-linearize -fdump-ir=linearize -fsigned-bitfields $file
10
*
11
* check-output-ignore
12
* check-output-contains: sext\\.
13
*/