summary refs log tree commit diff stats
path: root/tests/ambsym/tambsym3.nim
blob: 0558517bd0761e7ed2554ccc1c102284d7352d89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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))