ref: 6f893e4ef65b27ec2241b8375a465bbf41e3622b
dir: /test/generictype.myr/
use std
/* checks that parameterized types work. exits with 0. */
type option(@a) = union
`Some @a::(tcint,tcnum,tctest)
`None
;;
const main = {
var v
v = `Some 123
match v
`None: -> 1;;
`Some 123: -> 0;;
;;
-> 60
}