summary refs log tree commit diff stats
path: root/tests/reject/tillrec.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tillrec.nim')
-rwxr-xr-xtests/reject/tillrec.nim17
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]

-
-