shithub: mc

ref: 2a3b64a5642729ab3bf83a21ea6bf59fc2a88f2c
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 = {
	-> sz(123) + sz("asdf"[0])
}