summary refs log blame commit diff stats
path: root/tests/reject/tambsym.nim
blob: 9022746480e3b84ea082e944327d5650138ec4e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                  
                         



                          
                                             

      

 
discard """
  file: "tambsym.nim"
  line: 11
  errormsg: "ambiguous identifier"
"""
# Test ambiguous symbols

import mambsym1, mambsym2

var
  v: TExport #ERROR_MSG ambiguous identifier

v = y