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

import mambsym1, mambsym2

var
  v: TExport #ERROR_MSG ambiguous identifier

v = y