summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
blob: d20bc0e4edbe8e64bf567770e8f0f2670af11bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
uint a = 2, b = 4
{}uint8 str = "Hello", c = "#"

struct test {
    int i, j,
    bool k,
    uint8 m
}

/; main [int]
    test i
    i.i = 9
    return i.i
;/