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







                           
discard """
  file: "system.nim"
  line: 678
  errormsg: "type mismatch"
"""

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