shithub: mc

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