repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
x86-asm: Implement clflush opcode
[tinycc.git]
/
tests
/
tests2
/
07_function.c
blob
0477ce14e23001d47aadf561db463a7c4a55b819
1
#include <stdio.h>
2
3
int
myfunc
(
int
x
)
4
{
5
return
x
*
x
;
6
}
7
8
void
vfunc
(
int
a
)
9
{
10
printf
(
"a=%d
\n
"
,
a
);
11
}
12
13
void
qfunc
()
14
{
15
printf
(
"qfunc()
\n
"
);
16
}
17
18
int
main
()
19
{
20
printf
(
"%d
\n
"
,
myfunc
(
3
));
21
printf
(
"%d
\n
"
,
myfunc
(
4
));
22
23
vfunc
(
1234
);
24
25
qfunc
();
26
27
return
0
;
28
}
29
30
// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :