shithub: mc

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