Nim/tests/tpush.nim
2008-06-23 01:37:49 +02:00

18 lines
190 B
Nim

# test the new pragmas
import
io
{.push warnings: off, hints: off.}
proc noWarning() =
var
x: int
echo(x)
{.pop.}
proc WarnMe() =
var
x: int
echo(x)