summary refs log tree commit diff stats
path: root/tests/reject/tnoop.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tnoop.nim')
-rwxr-xr-xtests/reject/tnoop.nim13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/reject/tnoop.nim b/tests/reject/tnoop.nim
deleted file mode 100755
index 2d320c849..000000000
--- a/tests/reject/tnoop.nim
+++ /dev/null
@@ -1,13 +0,0 @@
-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

-
-