1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/tests/Asm/negative/vtest003.jva
2022-09-29 17:44:55 +02:00

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;
}