shithub: mc

ref: 4a7d019d03fa6c267d27ffb9d90e2472bad4bcbf
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])
}