diff options
Diffstat (limited to 'tests/objects/toop.nim')
-rw-r--r-- | tests/objects/toop.nim | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/objects/toop.nim b/tests/objects/toop.nim deleted file mode 100644 index ebc59f637..000000000 --- a/tests/objects/toop.nim +++ /dev/null @@ -1,21 +0,0 @@ -discard """ - output: "b" -""" - -type - TA = object of TObject - x, y: int - - TB = object of TA - z: int - - TC = object of TB - whatever: string - -proc p(a: var TA) = echo "a" -proc p(b: var TB) = echo "b" - -var c: TC - -p(c) - |