summary refs log tree commit diff stats
path: root/tests/tnoop.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andi>2008-06-22 16:14:11 +0200
committerAndreas Rumpf <andreas@andi>2008-06-22 16:14:11 +0200
commit405b86068e6a3d39970b9129ceec0a9108464b28 (patch)
treec0449946f54baae6ea88baf453157ddd7faa8f86 /tests/tnoop.nim
downloadNim-405b86068e6a3d39970b9129ceec0a9108464b28.tar.gz
Initial import
Diffstat (limited to 'tests/tnoop.nim')
-rwxr-xr-xtests/tnoop.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tnoop.nim b/tests/tnoop.nim
new file mode 100755
index 000000000..3a19579ab
--- /dev/null
+++ b/tests/tnoop.nim
@@ -0,0 +1,6 @@
+# Tests the new check in the semantic pass

+

+var

+  a: int

+

+a()  #ERROR