1 2 3 4 5 6 7
discard """ errormsg: "illegal recursion in type 'object'" line: 7 """ # bug #1691 type Foo = ref object of Foo