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

19 lines
199 B
Plaintext

-- no matching case branch
type list {
nil : list;
cons : * -> list -> list;
}
function f(list) {
push arg[0];
case list {
cons: ret
};
}
function main() {
alloc nil;
tcall f;
}