examples from the talk part of test suite

This commit is contained in:
Araq 2013-09-27 08:45:14 +02:00
commit 2f0671eb79
9 changed files with 153 additions and 3 deletions

View file

@ -0,0 +1,12 @@
const
debug = true
template log(msg: string) =
if debug:
echo msg
var
x = 1
y = 2
log("x: " & $x & ", y: " & $y)