ref: 460b6ed7be00fe2bbf4807bc67c49e07d10384f0
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: std.exit(1)
| `Some 123: std.exit(0)
;;
std.exit(60)
}