Files
Nim/tests/misc/tnoop.nim
Andreas Rumpf a690e7b267 Merge pull request #1075 from flaviut/inlinedocs
Add some documentations and code examples in system
2014-04-09 22:56:18 +02:00

13 lines
206 B
Nim

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