summary refs log tree commit diff stats
path: root/tests/accept/run/tmultim4.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tmultim4.nim')
-rw-r--r--tests/accept/run/tmultim4.nim39
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/accept/run/tmultim4.nim b/tests/accept/run/tmultim4.nim
deleted file mode 100644
index fbfaf3175..000000000
--- a/tests/accept/run/tmultim4.nim
+++ /dev/null
@@ -1,39 +0,0 @@
-type
-  Test = object of TObject
-
-method doMethod(a: ref TObject) =
-  quit "override"
-
-method doMethod(a: ref Test) =
-  echo "hello"
-
-proc doProc(a: ref Test) =
-  echo "hello"
-
-proc newTest(): ref Test =
-  new(result)
-
-var s:ref Test = newTest()
-
-
-#doesn't work
-for z in 1..4:
-  s.doMethod()
-  break
- 
-#works
-#for z in 1..4:
-#  s.doProc()
-#  break
-
-#works
-#while true:
-#  s.doMethod()
-#  break
-
-#works
-#while true:
-#  s.doProc()
-#  break
-
-