summary refs log tree commit diff stats
path: root/tests/run/tofopr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tofopr.nim')
-rwxr-xr-xtests/run/tofopr.nim26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/run/tofopr.nim b/tests/run/tofopr.nim
deleted file mode 100755
index f9c21ad16..000000000
--- a/tests/run/tofopr.nim
+++ /dev/null
@@ -1,26 +0,0 @@
-discard """
-  file: "tofopr.nim"
-  output: "falsetrue"
-"""
-# Test is operator
-
-type
-  TMyType = object
-    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
-
-