summary refs log tree commit diff stats
path: root/tests/misc/tnoop.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-03-10 02:09:55 +0100
committerAraq <rumpf_a@web.de>2015-03-10 12:32:47 +0100
commitee57bb3e3e7e0874dad4a2c724c5f7caa250316f (patch)
treeeef65e37234718dc34bdea38d96c451145b9e57b /tests/misc/tnoop.nim
parent1efb5174f26caeebafe1b5ea9487690c5ffe1adb (diff)
downloadNim-ee57bb3e3e7e0874dad4a2c724c5f7caa250316f.tar.gz
fixes --gc:none regression; made some tests green
Diffstat (limited to 'tests/misc/tnoop.nim')
-rw-r--r--tests/misc/tnoop.nim7
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()