diff options
author | Araq <rumpf_a@web.de> | 2015-03-10 02:09:55 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-03-10 12:32:47 +0100 |
commit | ee57bb3e3e7e0874dad4a2c724c5f7caa250316f (patch) | |
tree | eef65e37234718dc34bdea38d96c451145b9e57b /tests/misc/tnoop.nim | |
parent | 1efb5174f26caeebafe1b5ea9487690c5ffe1adb (diff) | |
download | Nim-ee57bb3e3e7e0874dad4a2c724c5f7caa250316f.tar.gz |
fixes --gc:none regression; made some tests green
Diffstat (limited to 'tests/misc/tnoop.nim')
-rw-r--r-- | tests/misc/tnoop.nim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/misc/tnoop.nim b/tests/misc/tnoop.nim index c79403e11..10c2eb2ec 100644 --- a/tests/misc/tnoop.nim +++ b/tests/misc/tnoop.nim @@ -1,12 +1,11 @@ discard """ file: "tnoop.nim" line: 11 - errormsg: "expression \'a()\' cannot be called" + errormsg: "undeclared identifier: 'a'" """ -# Tests the new check in the semantic pass + var a: int -a() #ERROR_MSG expression 'a()' cannot be called - +a() |