fa/tests/stdlib/passing/gmem_memory.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

9 lines
137 B
Text

include 'std/std.fa'
include 'std/mem/gmem.fa'
macro SIZE 32 end
%SIZE #malloc as buf
%SIZE @buf deref #mfree pop
%EXIT_SUCCESS %exit