18 lines
274 B
Plaintext
18 lines
274 B
Plaintext
const main = fn () s32 {
|
|
const a = foo(5);
|
|
const b = foo(5);
|
|
return a - b;
|
|
}
|
|
|
|
const foo = fn (arg: s32) s32 {
|
|
if (arg > 1) {
|
|
if (arg < 5) {
|
|
return 6;
|
|
} else {
|
|
return 5;
|
|
}
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|