summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
blob: 972001177cc2b9f9af040478f69d550896442d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/; module util
    :include "c_wrap.tnsl"
;/

/; module tnslc
    :include "test2.tnsl"

    /; run (uint argc, ~~uint8 argv) [int]
        {}uint8 c = "asdf"
        return 0
    ;/
;/

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

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