summaryrefslogtreecommitdiff
path: root/test/nestclosure.myr
blob: 05a55a7701481ddc05157082df84d8152747411d (plain)
1
2
3
4
5
6
7
8
9
10
11
use std

const main = {
	var a = 1
	var f = std.fndup({
		{
			std.put("{}\n", a)
		}()
	})
	f()
}