shithub: mc

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