semi-complete semantic v2
This commit is contained in:
23
src/test.cm
23
src/test.cm
@@ -1,13 +1,16 @@
|
||||
int fib(int n) {
|
||||
if (n <= 0) {
|
||||
return 1;
|
||||
} else {
|
||||
return fib(n * fib(n - 1));
|
||||
}
|
||||
int main(void)
|
||||
{
|
||||
x(1, 2);
|
||||
}
|
||||
|
||||
/*
|
||||
int main(void) {
|
||||
int x;
|
||||
x = fib(input());
|
||||
if (x) {
|
||||
int x;
|
||||
x = 3;
|
||||
} else {
|
||||
int y;
|
||||
y = 0;
|
||||
x = 5;
|
||||
}
|
||||
output(x);
|
||||
}
|
||||
}*/
|
||||
Reference in New Issue
Block a user