ref: 7f5c1395bc44fd7cec4576a0feeb275cdd7ffb76
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
}