diff options
author | Araq <rumpf_a@web.de> | 2012-08-26 02:52:47 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-08-26 02:52:47 +0200 |
commit | 08d0003ed0cd4493df2486e6a1c62d7b547c735f (patch) | |
tree | 51a3421a51f672b4548e427aa63033077923a7d2 | |
parent | b5b5e6e76df228f573ae86780c66889f4b426301 (diff) | |
download | Nim-08d0003ed0cd4493df2486e6a1c62d7b547c735f.tar.gz |
thygienictempl added
-rw-r--r-- | tests/compile/thygienictempl.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/compile/thygienictempl.nim b/tests/compile/thygienictempl.nim new file mode 100644 index 000000000..98983dc55 --- /dev/null +++ b/tests/compile/thygienictempl.nim @@ -0,0 +1,10 @@ + +var + e = "abc" + +raise newException(EIO, e & "ha!") + +template t() = echo(foo) + +var foo = 12 +t() |