mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 01:52:11 +03:00
13 lines
156 B
Plaintext
13 lines
156 B
Plaintext
|
-- function type mismatch
|
||
|
|
||
|
function f(integer -> integer) : integer {
|
||
|
push 0;
|
||
|
push arg[0];
|
||
|
tcall $ 1;
|
||
|
}
|
||
|
|
||
|
function main() {
|
||
|
calloc f 0;
|
||
|
tcall f;
|
||
|
}
|