Nim/tests/reject/tambsym3.nim
2013-03-16 23:53:07 +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))