Nim/tests/reject/tnoop.nim
2010-02-26 01:26:16 +01: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