shithub: mc

ref: 0b8d09bb5198fb4d60d88e33b46862aec69f6e27
dir: /test/gsizeof.myr/

View raw version
use std
/* checks that sizeof works on generics. exits with 5. */
generic sz = {a:@a
	-> sizeof(@a)
}

const main = {
	std.exit(sz(123) + sz("asdf"[0]))
}