1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/tests/Asm/negative/vtest003.jva

13 lines
156 B
Plaintext
Raw Normal View History

2022-09-29 18:44:55 +03:00
-- function type mismatch
function f(integer -> integer) : integer {
push 0;
push arg[0];
tcall $ 1;
}
function main() {
calloc f 0;
tcall f;
}