summaryrefslogtreecommitdiff
path: root/test/fncast.myr
blob: ed17486701100b841b47d4673c72a636b565b5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std

const main = {
	var fn, envfn
	var ptr
	
	fn = {
	}
	ptr = (fn : byte#)
	ptr = (envfn : byte#)
	envfn = {
		ptr = ptr
	}
	std.put("ok\n")
}