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
unwind: ignore component_match_add_release() paths
[smatch.git]
/
validation
/
linear
/
bitfield-preinc.c
blob
783327ae8a2ad6275a5311ce0e0e3e3c84e79514
1
struct
s
{
2
int
f
:
3
;
3
};
4
5
int
preinc
(
void
)
6
{
7
struct
s s
= {
7
};
8
return
++
s
.
f
;
9
}
10
11
/*
12
* check-name: bitfield-preinc
13
* check-description: ++X is equivalent to X+=1
14
* check-command: test-linearize -Wno-decl $file
15
*
16
* check-output-ignore
17
* check-output-contains: ret.32 *\\$0
18
*/