diff options
Diffstat (limited to 'tests/compile/thygienictempl.nim')
-rw-r--r-- | tests/compile/thygienictempl.nim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/compile/thygienictempl.nim b/tests/compile/thygienictempl.nim deleted file mode 100644 index 3cdbac40e..000000000 --- a/tests/compile/thygienictempl.nim +++ /dev/null @@ -1,18 +0,0 @@ - -var - e = "abc" - -raise newException(EIO, e & "ha!") - -template t() = echo(foo) - -var foo = 12 -t() - - -template test_in(a, b, c: expr): bool {.immediate, dirty.} = - var result {.gensym.}: bool = false - false - -when isMainModule: - assert test_in(ret2, "test", str_val) |