summaryrefslogtreecommitdiff
path: root/test/fncast.myr
blob: 374dfe1aa25592596b3c2f32d3480ce4f8d3c887 (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")
}