fa/tests/passing/set.fa
Ari Archer de936a7513
Unsized strings, pop keyword and dead code elimination
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-22 10:43:57 +03:00

16 lines
190 B
Text

include 'std/std.fa'
include 'std/mem/gmem.fa'
macro SZ 8 end
macro main
%SZ #malloc as test
@test deref 0 set
%SZ @test deref #mfree pop
%EXIT_SUCCESS %exit
end
%main