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-unsigned.c
blob
099edaad979a40612a9b0325af0a749076f26c23
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-unsigned
9
* check-command: test-linearize -fdump-ir=linearize -funsigned-bitfields $file
10
*
11
* check-output-ignore
12
* check-output-contains: zext\\.
13
*/