thygienictempl added
This commit is contained in:
parent
b5b5e6e76d
commit
08d0003ed0
1 changed files with 10 additions and 0 deletions
10
tests/compile/thygienictempl.nim
Normal file
10
tests/compile/thygienictempl.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
var
|
||||
e = "abc"
|
||||
|
||||
raise newException(EIO, e & "ha!")
|
||||
|
||||
template t() = echo(foo)
|
||||
|
||||
var foo = 12
|
||||
t()
|
||||
Loading…
Add table
Add a link
Reference in a new issue