summary refs log tree commit diff stats
path: root/tests/procvar/tprocvar.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/procvar/tprocvar.nim')
-rw-r--r--tests/procvar/tprocvar.nim18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/procvar/tprocvar.nim b/tests/procvar/tprocvar.nim
deleted file mode 100644
index f523aa391..000000000
--- a/tests/procvar/tprocvar.nim
+++ /dev/null
@@ -1,18 +0,0 @@
-discard """
-  errormsg: "type mismatch"
-  line: 17
-  file: "tprocvar.nim"
-"""
-
-type
-  TCallback = proc (a, b: int)
-
-proc huh(x, y: var int) =
-  x = 0
-  y = x+1
-
-proc so(c: TCallback) =
-  c(2, 4)
-
-so(huh)
-