summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/features/enum.gd
blob: bbc66f6f3df76a0528021f275bcfb602081491cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
enum Size {
	S = -10,
	M,
	L = 0,
	XL = 10,
	XXL,
}

func test():
	print(Size.S)
	print(Size.M)
	print(Size.L)
	print(Size.XL)
	print(Size.XXL)