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

8 lines
106 B
Nim
Executable file

converter p(i: int): bool = return i != 0
if 1:
echo if 4: "foo" else: "barr"
while 0:
echo "bar"