summary refs log tree commit diff stats
path: root/tests/reject/tambsym3.nim
blob: 0155f258cdf800709a720638e64a1e9a66cafd50 (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

writeln(stdout, ord(v))