summary refs log tree commit diff stats
path: root/tests/ambsym/tambsym3.nim
blob: b25dadfd6327818d59eb68148554903caf1e5c55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
discard """
  file: "tambsym3.nim"
  line: 11
  errormsg: "ambiguous identifier"
"""
# Test ambiguous symbols

import mambsym1, times

var
  v = mDec #ERROR_MSG ambiguous identifier

writeLine(stdout, ord(v))