1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 14:13:27 +03:00
juvix/tests/Reg/positive/test037.jvr

16 lines
272 B
Plaintext
Raw Normal View History

function main() : *;
function main() : * {
prealloc 514;
tmp[0] = ".\n";
tmp[1] = 20;
tmp[2] = "123";
tmp[2] = atoi tmp[2];
tmp[1] = add tmp[2] tmp[1];
tmp[1] = show tmp[1];
tmp[0] = strcat tmp[1] tmp[0];
tmp[0] = alloc write (tmp[0]);
ret tmp[0];
}