summary refs log blame commit diff stats
path: root/tests/pragmas/tpush.nim
blob: 5ecfe97042f826af2a2e323769fa53025455bbd6 (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)