summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
blob: b274dfd7be69b7aca9f7ffdde1d35b17dba79e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
struct PTR_TEST {
    int dat, in
}

struct ARRAY_TEST {
    {}PTR_TEST dat
}

enum ENUM_TEST [{}int] {
    A = {2, 3, 4, 5, 623459},
    B = {1, 2}
}

enum EN_ARR [PTR_TEST] {
    A = {1, 2},
    B = {3, 4}
}

/; main [int]
    return EN_ARR.A.dat
;/