summaryrefslogtreecommitdiff
path: root/tests/genie/struct-after-class.gs
blob: 353012bc3df0551835e274223cd7515090d3f34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
init
	var a = new TestClass()
	var b = TestStruct()
	assert( a.empty == b.empty )

class TestClass
	empty:string = ""

struct TestStruct
	empty:string

	construct()
		empty = ""