/test/testdir/

40d2cc2ff8f178192ba83873e7f43e0'/> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/tests/accept/compile/tpush.nim
blob: 5fb411a79135cf6e457b60a9443fb6360a89be76 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                       












                                   
# test the new pragmas

{.push warnings: off, hints: off.}
proc noWarning() =
  var
    x: int
  echo(x)

{.pop.}

proc WarnMe() =
  var
    x: int
  echo(x)