diff options
Diffstat (limited to 'tests/reject/tprocvar.nim')
-rwxr-xr-x | tests/reject/tprocvar.nim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/reject/tprocvar.nim b/tests/reject/tprocvar.nim deleted file mode 100755 index 56f76c613..000000000 --- a/tests/reject/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) - |