summary refs log tree commit diff stats
path: root/tests/mbind4.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2009-12-07 01:24:27 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2009-12-07 01:24:27 +0100
commitbfef39246055769ae400c3db4c462bc947222d2c (patch)
tree8df050da62d77c923af27f427ccc934964acf22b /tests/mbind4.nim
parente254741541b0389dfb0b675116c76a6a144b90b7 (diff)
downloadNim-bfef39246055769ae400c3db4c462bc947222d2c.tar.gz
added missing tests
Diffstat (limited to 'tests/mbind4.nim')
-rwxr-xr-xtests/mbind4.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/mbind4.nim b/tests/mbind4.nim
new file mode 100755
index 000000000..53b8331cd
--- /dev/null
+++ b/tests/mbind4.nim
@@ -0,0 +1,9 @@
+# Module A
+var 
+  lastId = 0
+
+template genId*: expr =
+  inc(lastId)
+  lastId
+
+