diff options
author | Araq <rumpf_a@web.de> | 2016-12-30 02:21:15 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-12-30 02:21:15 +0100 |
commit | cfea779e23bbcd586044cfe7be412dc87aad7c50 (patch) | |
tree | 30d2a3365023b4612928af3c89b5bc3ab200b074 /tests/errmsgs | |
parent | 45001632cef209269815bc4c8ae6af10f8c6a161 (diff) | |
download | Nim-cfea779e23bbcd586044cfe7be412dc87aad7c50.tar.gz |
fixes #2050
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/tcannot_capture_builtin.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/errmsgs/tcannot_capture_builtin.nim b/tests/errmsgs/tcannot_capture_builtin.nim new file mode 100644 index 000000000..3b8aae241 --- /dev/null +++ b/tests/errmsgs/tcannot_capture_builtin.nim @@ -0,0 +1,8 @@ +discard """ +errormsg: "'+' cannot be passed to a procvar" +line: 8 +""" + +# bug #2050 + +let v: proc (a, b: int): int = `+` |