summary refs log tree commit diff stats
path: root/tests/method/tmethods1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/method/tmethods1.nim')
-rw-r--r--tests/method/tmethods1.nim22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/method/tmethods1.nim b/tests/method/tmethods1.nim
deleted file mode 100644
index cb4da5ef2..000000000
--- a/tests/method/tmethods1.nim
+++ /dev/null
@@ -1,22 +0,0 @@
-discard """
-  output: "do nothing"
-"""
-
-method somethin(obj: RootObj) {.base.} =
-  echo "do nothing"
-
-type
-  TNode* = object {.inheritable.}
-  PNode* = ref TNode
-
-  PNodeFoo* = ref object of TNode
-
-  TSomethingElse = object
-  PSomethingElse = ref TSomethingElse
-
-method foo(a: PNode, b: PSomethingElse) {.base.} = discard
-method foo(a: PNodeFoo, b: PSomethingElse) = discard
-
-var o: RootObj
-o.somethin()
-