1 2 3 4 5 6 7
block: # issue #23998 type Enum {.pure.} = enum a Obj = object a: Enum proc test(a: Enum) = discard Obj(a: a)