summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
blob: 265ba702809aee9a3715059156e0575297ff5ae0 (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
# should not be included

~uint lmao

~{2}user c

struct user {
	~int abcd,
	~Geko hij
}

struct Geko {
	int i
}

/; module mod
	int i = 0
	/; whatev (~uint8 a) [uint8]
		return a{0}
	;/
;/

/; main [int]
	# ~uint8 a = "asdf\0"
	#whatev(a)
	#whatev("asdf\0")
	return 0
;/

~uint8 printf = "Unmatched closing delimiter at {line %d, col %d, %s}"