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)