ref: 9b60831c7e019e9fc9f4d62d1a016d8ddd7e7a91
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
}