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
avoid useless warning for 'bool <- restricted type' conversion
[smatch.git]
/
validation
/
kill-phisrc.c
blob
f00dbed243beb73e29184d51249540665a4c6a57
1
int
foo
(
int
a
,
int
b
)
2
{
3
int
r
=
a
+
b
;
4
5
if
(
a
&&
0
) {
6
int
s
=
r
;
7
if
(
b
)
8
s
=
0
;
9
(
void
)
s
;
10
}
11
12
return
0
;
13
}
14
15
/*
16
* check-name: kill-phisrc
17
* check-command: test-linearize -Wno-decl $file
18
*
19
* check-output-ignore
20
* check-output-excludes: add\\.
21
*/