This commit is contained in:
parent
3e2d8c1c53
commit
745f1642d6
18 changed files with 906 additions and 236 deletions
12
tests/types/tillegalrecursion3.nim
Normal file
12
tests/types/tillegalrecursion3.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
discard """
|
||||
errormsg: "illegal recursion in type 'Foo'"
|
||||
"""
|
||||
|
||||
type
|
||||
Imported {.importc.} = object
|
||||
|
||||
Foo = object
|
||||
b: Imported
|
||||
a: Foo
|
||||
|
||||
var myFoo: Foo
|
||||
Loading…
Add table
Add a link
Reference in a new issue