summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
blob: 0d3787d034091a9749cb404dc0791e9bb0faa2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/; module tnslc
    :include "test2.tnsl"

    /; run (uint argc, ~~uint8 argv) [int]
        return 0
    ;/
;/

tnslc.Try A = {1, 2, 3}

/; raw main (uint argc, ~~uint8 argv) [int]
    asm "mov r8, rdi"
    asm "mov r9, rsi"
    return tnslc.run(argc, argv)
;/