projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
t9801: do not overuse test_must_fail
[git]
/
t
/
t4109
/
expect-2
1
#include <stdio.h>
2
3
int func(int num);
4
void print_int(int num);
5
6
int main() {
7
int i;
8
9
for (i = 0; i < 10; i++) {
10
print_int(func(i));
11
}
12
13
return 0;
14
}
15
16
int func(int num) {
17
return num * num;
18
}
19
20
void print_int(int num) {
21
printf("%d", num);
22
}
23