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
Preservation of named blocks works.
[sixpic.git]
/
tests
/
test3.c
blob
994b0e56735d12576874707cc2aa5acca708e96f
1
/* File: test3.c */
2
3
/* Test function calls with arguments and while loops */
4
5
void
f
(
int
x
,
int
n
)
6
{
7
while
(
n
>
0
)
8
{
9
x
=
x
+
n
;
10
n
=
n
-
1
;
11
}
12
}
13
14
f
(
0
,
6
);