diff options
Diffstat (limited to 'tests/accept/compile/tforwty.nim')
-rw-r--r-- | tests/accept/compile/tforwty.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/accept/compile/tforwty.nim b/tests/accept/compile/tforwty.nim new file mode 100644 index 000000000..0f1d3697f --- /dev/null +++ b/tests/accept/compile/tforwty.nim @@ -0,0 +1,9 @@ +# Test 13: forward types + +type + PSym = ref TSym + + TSym = object + next: PSym + +var s: PSym |