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
warn if testing the address of an array
[smatch.git]
/
validation
/
c99-for-loop.c
blob
427fde268a7a67528a96945574165ed8f0da37f1
1
int
c99
(
void
);
2
int
c99
(
void
)
3
{
4
int
r
= -
1
;
5
6
for
(
int
i
=
0
;
i
<
10
;
i
++) {
7
r
=
i
;
8
}
9
10
return
r
;
11
}
12
13
/*
14
* check-name: C99 for loop variable declaration
15
* check-command: test-linearize $file
16
*
17
* check-output-ignore
18
* check-output-contains: phisrc\\.
19
* check-output-contains: phi\\.
20
* check-output-contains: add\\.
21
*/