tillegal_recursion.nim 129 B

12345678
  1. discard """
  2. errormsg: "inheritance only works with non-final objects"
  3. line: 7
  4. """
  5. # bug #1691
  6. type
  7. Foo = ref object of Foo