mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
This is a problem on big-endian CPUs because you end up with nimvm computing something different than Nim proper, so e.g. a const table won't work. I also took the liberty to replace a redundant implementation of load4 in murmurHash. (Thanks to barracuda156 for helping debug this.)
19 lines
279 B
Nim
19 lines
279 B
Nim
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"
|