ref: 384034736722f2c2cde1465b9cc66097f2d71c94
dir: /test/genericrec.myr/
use std
/* test that generic types can be recursive, as long as they're not self
* including. This just needs to compile and exit with 0. */
type list(@t) = struct
val : @t
next : list(@t)#
;;
const main = {
var v : list(int)
}