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
states: rename unreachable() to is_unreachable()
[smatch.git]
/
validation
/
infinite-loop04.c
blob
77865095f3a5ed86161559dd5f0b47518da9e6a3
1
extern
void
use
(
char
);
2
3
static void
foo
(
char
*
b
)
4
{
5
while
(
b
) {
6
if
(
b
++)
7
continue
;
8
++
b
;
9
use
(*
b
);
10
&
b
;
11
}
12
}
13
14
/*
15
* check-name: internal infinite loop (4)
16
* check-command: sparse $file
17
* check-timeout:
18
*/