diff options
Diffstat (limited to 'tests/reject/tnoop.nim')
-rwxr-xr-x | tests/reject/tnoop.nim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/reject/tnoop.nim b/tests/reject/tnoop.nim deleted file mode 100755 index 2d320c849..000000000 --- a/tests/reject/tnoop.nim +++ /dev/null @@ -1,13 +0,0 @@ -discard """ - file: "tnoop.nim" - line: 11 - errormsg: "expression \'a()\' cannot be called" -""" -# Tests the new check in the semantic pass - -var - a: int - -a() #ERROR_MSG expression 'a()' cannot be called - - |