summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
blob: 0d54258143df3d29cd40577ce607538d597b4982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

struct Fin {
	~void fd,
	int state
}

/; main (int argc, {}{}uint8 argv) [int]
	uint8 a = 1
	~uint8 b = ~a
	Fin c
	~Fin d = ~c
	b` = 2
	c.state = a
	d`.state = 0
	return c.state
;/