diff options
Diffstat (limited to 'tests/reject/tinout.nim')
-rwxr-xr-x | tests/reject/tinout.nim | 16 |
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() - - |