repo.or.cz
/
sixpic.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
New version of the assembler, that does better branch generation.
[sixpic.git]
/
tests
/
functions
/
recursion.c
blob
446bf89df5fa2079c3b7883e9dc24b115144facf
1
/* Dummy test, just to see what happens with recursion (recursion fails) */
2
3
int
rec
(
int
x
){
4
if
(
x
>
0
){
5
rec
(
x
-
1
);
6
x
++;
7
x
++;
8
return
x
;
9
}
10
}
11
12
rec
(
4
);