Files
Nim/tests/ic/mmodsymarm.nim
2026-06-25 23:20:34 +02:00

6 lines
305 B
Nim

# Gated out on every host (mmodSymFakeArch is never defined): `foo` does NOT
# exist here, so a qualified `…mmodsymarm.foo` cannot resolve to the proc and
# leaves the bare re-exported MODULE symbol dangling in the template body.
when defined(mmodSymFakeArch):
func foo*(a, b: uint64): uint64 = a + b