1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 17:32:00 +03:00
juvix/tests/Asm/negative/vtest002.jva

14 lines
146 B
Plaintext
Raw Normal View History

2022-09-29 18:44:55 +03:00
-- arithmetic type mismatch
function f(integer) : integer {
push "a";
push arg[0];
add;
ret;
}
function main() {
push 1;
tcall f;
}