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
function_hooks: hack around fallout from moving the assignment to the end
[smatch.git]
/
validation
/
sm_loops5.c
blob
0ed7171189513c8b3879d6adedb2e930e5abe014
1
#include
"check_debug.h"
2
3
int
frob
(
void
);
4
5
int
a
,
b
,
c
;
6
void
test
(
void
)
7
{
8
a
=
0
;
9
do
{
10
frob
();
11
}
while
(
a
++ <
3
);
12
__smatch_implied
(
a
);
13
}
14
/*
15
* check-name: smatch loops #5
16
* check-command: smatch -I.. sm_loops5.c
17
*
18
* check-output-start
19
sm_loops5.c:12 test() implied: a = '4'
20
* check-output-end
21
*/