tredefinition.nim 229 B

123456789
  1. discard """
  2. cmd: '''nim check --hints:off $file'''
  3. action: reject
  4. nimout: '''
  5. tredefinition.nim(9, 25) Error: redefinition of 'Key_a'; previous declaration here: tredefinition.nim(9, 18)
  6. '''
  7. """
  8. type Key* = enum Key_A, Key_a