ref: 71a77dbd7f8a317edf08c55edbfe3016e97ea7fc
dir: /test/genericrec.myr/
/* 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)
-> 0
}