Nim/tests/tnoop.nim
2009-09-15 23:22:22 +02:00

6 lines
114 B
Nim
Executable file

# Tests the new check in the semantic pass
var
a: int
a() #ERROR_MSG expression 'a()' cannot be called