Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
18
tests/tpush.nim
Executable file
18
tests/tpush.nim
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
# 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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue