summary refs log tree commit diff stats
path: root/tests/reject/tenummix.nim
blob: f32eb82a776988acde09d4e41a0bd929181c3eca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
discard """
  file: "system.nim"
  line: 640
  errormsg: "type mismatch"
"""

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