shithub: mc

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