parent
94675c2378
commit
e1b1759439
5 changed files with 47 additions and 14 deletions
17
tests/pragmas/twarning_off.nim
Normal file
17
tests/pragmas/twarning_off.nim
Normal file
|
|
@ -0,0 +1,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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue