mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-14 16:55:35 +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.)
(cherry picked from commit a061f026a8)
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"
|