tenummix.nim 141 B

123456789101112
  1. discard """
  2. errormsg: "type mismatch"
  3. file: "tenummix.nim"
  4. line: 11
  5. """
  6. type
  7. TE1 = enum eA, eB
  8. TE2 = enum eC, eD
  9. assert eA != eC