summary refs log tree commit diff stats
path: root/tests/stdlib/t9091.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/t9091.nim')
-rw-r--r--tests/stdlib/t9091.nim36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/stdlib/t9091.nim b/tests/stdlib/t9091.nim
deleted file mode 100644
index 8419479a7..000000000
--- a/tests/stdlib/t9091.nim
+++ /dev/null
@@ -1,36 +0,0 @@
-discard """
-  targets:  "c"
-  output:   "test AObj"
-  action:   "compile"
-  exitcode: 0
-  timeout:  60.0
-"""
-import streams
-
-block:
-  type Mine = ref object
-    a: int
-
-  proc write(io: Stream, t: Mine) =
-    io.write("sure")
-
-  let str = newStringStream()
-  let mi = new Mine
-
-  str.write(mi)
-
-block:
-  type
-    AObj = object
-      x: int
-
-  proc foo(a: int): string = ""
-
-  proc test(args: varargs[string, foo]) =
-    echo "varargs"
-
-  proc test(a: AObj) =
-    echo "test AObj"
-
-  let x = AObj()
-  test(x)