summary refs log tree commit diff stats
path: root/tests/objects/tofopr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/objects/tofopr.nim')
-rw-r--r--tests/objects/tofopr.nim26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/objects/tofopr.nim b/tests/objects/tofopr.nim
deleted file mode 100644
index ab2854571..000000000
--- a/tests/objects/tofopr.nim
+++ /dev/null
@@ -1,26 +0,0 @@
-discard """
-  file: "tofopr.nim"
-  output: "falsetrue"
-"""
-# Test is operator
-
-type
-  TMyType = object {.inheritable.}
-    len: int
-    data: string
-
-  TOtherType = object of TMyType
-
-proc p(x: TMyType): bool =
-  return x of TOtherType
-
-var
-  m: TMyType
-  n: TOtherType
-
-write(stdout, p(m))
-write(stdout, p(n))
-
-#OUT falsetrue
-
-