summary refs log tree commit diff stats
path: root/tests/reject/tinout.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tinout.nim')
-rwxr-xr-xtests/reject/tinout.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/reject/tinout.nim b/tests/reject/tinout.nim
deleted file mode 100755
index 034c496f5..000000000
--- a/tests/reject/tinout.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  file: "tinout.nim"
-  line: 12
-  errormsg: "for a \'var\' type a variable needs to be passed"
-"""
-# Test in out checking for parameters

-

-proc abc(x: var int) =

-    x = 0

-

-proc b() =

-    abc(3) #ERROR

-

-b()

-
-