shithub: mc

ref: df3be17970375f2a05281aad81734be0db8f4983
dir: /test/gsizeof.myr/

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

const main = {
	-> sz(123) + sz("asdf"[0])
}