summaryrefslogtreecommitdiff
path: root/test/colm.d/struct1.lm
blob: e8323ede75d26f0f1bc66dfa23d288858d9c9a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
context foo
	Int: int
	D: d

	def d []
end

Foo: foo = new foo()

Foo->Int = 1
Foo->D = construct foo::d[]

print "[Foo->Int]
##### EXP #####
1