diff options
Diffstat (limited to 'tests/reject/tillrec.nim')
-rwxr-xr-x | tests/reject/tillrec.nim | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/reject/tillrec.nim b/tests/reject/tillrec.nim deleted file mode 100755 index 3f8fe60fc..000000000 --- a/tests/reject/tillrec.nim +++ /dev/null @@ -1,17 +0,0 @@ -discard """ - file: "tillrec.nim" - line: 13 - errormsg: "illegal recursion in type \'TIllegal\'" -""" -# test illegal recursive types - -type - TLegal {.final.} = object - x: int - kids: seq[TLegal] - - TIllegal {.final.} = object #ERROR_MSG illegal recursion in type 'TIllegal' - y: Int - x: array[0..3, TIllegal] - - |