summary refs log tree commit diff stats
path: root/tests/objects/tillegal_recursion.nim
blob: 171a04f87e511f19db1f9f68325a9a99303093ae (plain) (blame)
1
2
3
4
5
6
7
discard """
  errormsg: "illegal recursion in type 'object'"
  line: 7
"""
# bug #1691
type
  Foo = ref object of Foo