summary refs log tree commit diff stats
path: root/tests/pragmas/thintprocessing.nim
blob: c608bc6e42b95ba33ef9823f0bff0a34e3d27a26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
discard """
  disabled: windows
  matrix: "--hint:processing"
  nimout: '''
compile start
..
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"