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

struct ARRAY_TEST {
    {}PTR_TEST dat
}

enum ENUM_TEST [{}uint8] {
    A = "nizsdd",
    B = {1, 2}
}

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

struct A {
    B nxta
}

struct B {
    ~A dat
}

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