blob: ae039a1122369beee7c09467bd1e8fcc00f3e5c8 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
struct Token {
~uint8 data,
int
tokenType,
line,
col
}
enum TOKENS [Token] {
A = {"asdf", 1, 2, 3}
}
struct PTR_TEST {
int8 dat, in
}
struct ARRAY_TEST {
{}PTR_TEST dat
}
enum ENUM_TEST [{}uint8] {
A = "nizsdd",
B = {1, 2}
}
enum EN_ARR [PTR_TEST] {
A = {3, 2},
B = {3, 4}
}
uint WAMM = 31, WAM2 = 34
/; module Alpha
struct A {
B nxta
}
struct B {
~A dat
}
;/
/; main [int]
return EN_ARR.A.dat
;/
|