repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial revision
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.misc-tests
/
acker1.c
blob
9e77e42bedd9a959e12f3b8b672cb909f0f774f8
1
int
acker
(
int
,
int
);
2
3
void
main
()
4
{
5
acker
(
3
,
6
);
6
/* */
7
exit
(
0
);
8
/* */
9
}
10
11
int
12
acker
(
int
x
,
int
y
)
13
{
14
if
(
x
==
0
)
15
return
(
y
+
1
);
16
else if
(
y
==
0
)
17
return
(
acker
(
x
-
1
,
1
));
18
else
19
return
(
acker
(
x
-
1
,
acker
(
x
,
y
-
1
)));
20
}