diff options
author | Araq <rumpf_a@web.de> | 2015-04-11 02:45:29 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-04-11 10:01:11 +0200 |
commit | a1b937ab33dc320208be405672ab12d88c92b4b1 (patch) | |
tree | b46c0cab3bf5ce9ed4efd467434c540447564224 /tests/objects/tillegal_recursion.nim | |
parent | c8dbeaa09b33af6d339213eaffa5dbb2c08cc959 (diff) | |
download | Nim-a1b937ab33dc320208be405672ab12d88c92b4b1.tar.gz |
fixes #1691
Diffstat (limited to 'tests/objects/tillegal_recursion.nim')
-rw-r--r-- | tests/objects/tillegal_recursion.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/objects/tillegal_recursion.nim b/tests/objects/tillegal_recursion.nim new file mode 100644 index 000000000..171a04f87 --- /dev/null +++ b/tests/objects/tillegal_recursion.nim @@ -0,0 +1,7 @@ +discard """ + errormsg: "illegal recursion in type 'object'" + line: 7 +""" +# bug #1691 +type + Foo = ref object of Foo |