Files
Nim/tests/compile/mtempl5.nim
2011-11-19 15:45:51 +01:00

11 lines
82 B
Nim

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