Nim/tests/ambsym/tambsym3.nim
2018-12-11 21:23:21 +01:00

13 lines
209 B
Nim

discard """
errormsg: "ambiguous identifier"
file: "tambsym3.nim"
line: 11
"""
# Test ambiguous symbols
import mambsym1, times
var
v = mDec #ERROR_MSG ambiguous identifier
writeLine(stdout, ord(v))