summaryrefslogtreecommitdiff
path: root/test/fncast.myr
blob: 08b8d1eb9ab9a83ab9ccec99731ac9d955d37d42 (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 = {
	}
	envfn = {
		ptr = ptr
	}
	ptr = fn castto(byte#)
	ptr = envfn castto(byte#)
	std.put("ok\n", ptr)
}