summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
blob: fd29a2342c55ccd3259f3e8e6d88409229755e7f (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

/; module Container
	/; module m1
		struct Box {
			~uint8 data
		}
	;/

	/; module m2
		struct Crate {
			{}m1.Box boxes
		}
	;/

;/

struct Option {
	bool has_crate,
	Container.m2.Crate crate
}


/; main (int argc, ~~uint8 argv) [int]
	
	return 0
;/