repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
tools
/
scan-build-py
/
tests
/
functional
/
src
/
emit-one.c
blob
6cbd9cea72b963ee3e2081f36b53be8b1618b585
1
#include <assert.h>
2
3
int
div
(
int
numerator
,
int
denominator
)
4
{
5
return
numerator
/
denominator
;
6
}
7
8
void
div_test
()
9
{
10
int
i
=
0
;
11
for
(
i
=
0
;
i
<
2
; ++
i
)
12
assert
(
div
(
2
*
i
,
i
) ==
2
);
13
}
14
15
int
do_nothing
()
16
{
17
unsigned int
i
=
0
;
18
19
int
k
=
100
;
20
int
j
=
k
+
1
;
21
22
return
j
;
23
}