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
expressions: make assign_expression() take an op argument
[smatch.git]
/
validation
/
backend
/
loop.c
blob
181a00689599d46a6d3c885d2e2271c7e268267e
1
2
extern
int
bar
(
int
);
3
4
extern
int
foo
(
int
);
5
6
int
foo
(
int
x
)
7
{
8
int
y
=
0
;
9
10
while
(
y
<
1000
) {
11
y
+=
bar
(
x
);
12
}
13
14
return
y
;
15
}
16
17
18
/*
19
* check-name: Loops
20
* check-command: sparsec -c $file -o tmp.o
21
*/