Nim/tests/ambsym/tambsym3.nim
2014-01-13 02:10:03 +01:00

15 lines
217 B
Nim

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