Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
This commit is contained in:
parent
f02e159b56
commit
70a30317f7
28 changed files with 103 additions and 52 deletions
18
tests/pragmas/thintprocessing.nim
Normal file
18
tests/pragmas/thintprocessing.nim
Normal file
|
|
@ -0,0 +1,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"
|
||||
|
|
@ -1,8 +1,6 @@
|
|||
discard """
|
||||
matrix: "--hint:processing"
|
||||
nimout: '''
|
||||
compile start
|
||||
..
|
||||
warn_module.nim(6, 6) Hint: 'test' is declared but not used [XDeclaredButNotUsed]
|
||||
compile end
|
||||
'''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue