shithub: mc

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