summary refs log blame commit diff stats
path: root/tests/pragmas/twarning_off.nim
blob: f1de9076f4fb843e24b83ed3e87112bec8a1259f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                 
discard """
  nimout: '''
compile start
Hint: warn_module [Processing]
Hint: hashes [Processing]
warn_module.nim(6, 6) Hint: 'test' is declared but not used [XDeclaredButNotUsed]
compile end
'''
"""

static:
  echo "compile start"

import warn_module

static:
  echo "compile end"