Nim/tests/accept/compile/mtempl5.nim
2011-10-10 02:04:15 +02:00

10 lines
82 B
Nim

var
gx = 88
gy = 44
template templ*(): int =
bind gx, gy
gx + gy