diff options
Diffstat (limited to 'tests/compile/typalias.nim')
-rw-r--r-- | tests/compile/typalias.nim | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/compile/typalias.nim b/tests/compile/typalias.nim deleted file mode 100644 index ba9f38ed9..000000000 --- a/tests/compile/typalias.nim +++ /dev/null @@ -1,15 +0,0 @@ - -type - TMyObj = TYourObj - TYourObj = object of TObject - x, y: int - -proc init: TYourObj = - result.x = 0 - result.y = -1 - -proc f(x: var TYourObj) = - nil - -var m: TMyObj = init() -f(m) |