summary refs log tree commit diff stats
path: root/tests/reject/mbind4.nim
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2010-02-21 23:44:53 +0100
committerrumpf_a@web.de <>2010-02-21 23:44:53 +0100
commit6da95ed9ca899db702c6a7b17d2d7db14dbb0de4 (patch)
treed29e92a1e0f863091e5a544a5b55073c7b53be45 /tests/reject/mbind4.nim
parentd913fdb2800d83680e413cd8a5f07b7f85deac6e (diff)
downloadNim-6da95ed9ca899db702c6a7b17d2d7db14dbb0de4.tar.gz
start of yamllexer
Diffstat (limited to 'tests/reject/mbind4.nim')
-rw-r--r--tests/reject/mbind4.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/reject/mbind4.nim b/tests/reject/mbind4.nim
new file mode 100644
index 000000000..53b8331cd
--- /dev/null
+++ b/tests/reject/mbind4.nim
@@ -0,0 +1,9 @@
+# Module A
+var 
+  lastId = 0
+
+template genId*: expr =
+  inc(lastId)
+  lastId
+
+