fa/tests/passing/shift.fa
Ari Archer 86e50665b0
Add tests for shift keyword
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-01 17:47:52 +03:00

11 lines
182 B
Text

include 'std/std.fa'
macro main
shift -- (0)
shift -- (1; 0)
drop -- Consumes the `1` and drops the 0
%EXIT_SUCCESS %exit
end
%main