diff options
Diffstat (limited to 'tests/compile/thygienictempl.nim')
-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() |