summary refs log blame commit diff stats
path: root/tests/enum/tenummix.nim
blob: c7db4e056004deddef5c732d57235ad9b437029a (plain) (tree)
1
2
3
4
5
6
7
8
9
           

                       





                           
 
               
discard """
  tfile: "tenummix.nim"
  tline: 11
  errormsg: "type mismatch"
"""

type
  TE1 = enum eA, eB
  TE2 = enum eC, eD

assert eA != eC