FILE fqName:<root> fileName:/enumWithSecondaryCtor.kt
  CLASS ENUM_CLASS name:Test0 modality:FINAL visibility:public superTypes:[kotlin.Enum]
    $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test0 
    CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:<root>.Test0 [primary] 
      VALUE_PARAMETER name:x index:0 type:kotlin.Int 
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> (name: kotlin.String, ordinal: kotlin.Int) [primary] declared in kotlin.Enum'
          <E>: <none>
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_CLASS name:Test0 modality:FINAL visibility:public superTypes:[kotlin.Enum]'
    PROPERTY name:x visibility:public modality:FINAL [val] 
      FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public [final] 
        EXPRESSION_BODY
          GET_VAR 'x: kotlin.Int declared in <root>.Test0.<init>' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
      FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.Test0) returnType:kotlin.Int 
        correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] 
        $this: VALUE_PARAMETER name:<this> type:<root>.Test0 
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='public final fun <get-x> (): kotlin.Int declared in <root>.Test0'
            GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public [final] ' type=kotlin.Int origin=null
              receiver: GET_VAR '<this>: <root>.Test0 declared in <root>.Test0.<get-x>' type=<root>.Test0 origin=null
    CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public superTypes:[kotlin.Any]
      $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test0.ZERO 
      CONSTRUCTOR visibility:public <> () returnType:<root>.Test0.ZERO [primary] 
        BLOCK_BODY
          DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public superTypes:[kotlin.Any]'
      FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean 
        overridden:
          public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
        VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
      FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int 
        overridden:
          public open fun hashCode (): kotlin.Int declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
      FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String 
        overridden:
          public open fun toString (): kotlin.String declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
    CONSTRUCTOR visibility:private <> () returnType:<root>.Test0 
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'private constructor <init> (x: kotlin.Int) [primary] declared in <root>.Test0'
          x: CONST Int type=kotlin.Int value=0
    FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Any 
      overridden:
        protected final fun clone (): kotlin.Any declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E of kotlin.Enum) returnType:kotlin.Int
      overridden:
        public final fun compareTo (other: E of kotlin.Enum): kotlin.Int declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      VALUE_PARAMETER name:other index:0 type:E of kotlin.Enum
    FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:kotlin.Boolean 
      overridden:
        public final fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Int 
      overridden:
        public final fun hashCode (): kotlin.Int declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:kotlin.String 
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
  CLASS ENUM_CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Enum]
    $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1 
    CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:<root>.Test1 [primary] 
      VALUE_PARAMETER name:x index:0 type:kotlin.Int 
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> (name: kotlin.String, ordinal: kotlin.Int) [primary] declared in kotlin.Enum'
          <E>: <none>
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Enum]'
    PROPERTY name:x visibility:public modality:FINAL [val] 
      FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public [final] 
        EXPRESSION_BODY
          GET_VAR 'x: kotlin.Int declared in <root>.Test1.<init>' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
      FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.Test1) returnType:kotlin.Int 
        correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] 
        $this: VALUE_PARAMETER name:<this> type:<root>.Test1 
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='public final fun <get-x> (): kotlin.Int declared in <root>.Test1'
            GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public [final] ' type=kotlin.Int origin=null
              receiver: GET_VAR '<this>: <root>.Test1 declared in <root>.Test1.<get-x>' type=<root>.Test1 origin=null
    CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public superTypes:[kotlin.Any]
      $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1.ZERO 
      CONSTRUCTOR visibility:public <> () returnType:<root>.Test1.ZERO [primary] 
        BLOCK_BODY
          DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public superTypes:[kotlin.Any]'
      FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean 
        overridden:
          public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
        VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
      FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int 
        overridden:
          public open fun hashCode (): kotlin.Int declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
      FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String 
        overridden:
          public open fun toString (): kotlin.String declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
    CLASS ENUM_ENTRY name:ONE modality:FINAL visibility:public superTypes:[<root>.Test1]
      $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1.ONE 
      CONSTRUCTOR visibility:public <> () returnType:<root>.Test1.ONE [primary] 
        BLOCK_BODY
          DELEGATING_CONSTRUCTOR_CALL 'private constructor <init> (x: kotlin.Int) [primary] declared in <root>.Test1'
            x: CONST Int type=kotlin.Int value=1
          INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_ENTRY name:ONE modality:FINAL visibility:public superTypes:[<root>.Test1]'
      FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Any 
        overridden:
          protected final fun clone (): kotlin.Any declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E of kotlin.Enum) returnType:kotlin.Int
        overridden:
          public final fun compareTo (other: E of kotlin.Enum): kotlin.Int declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
        VALUE_PARAMETER name:other index:0 type:E of kotlin.Enum
      FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:kotlin.Boolean 
        overridden:
          public final fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
        VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
      FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Int 
        overridden:
          public final fun hashCode (): kotlin.Int declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:kotlin.String 
        overridden:
          public open fun toString (): kotlin.String declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    CONSTRUCTOR visibility:private <> () returnType:<root>.Test1 
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'private constructor <init> (x: kotlin.Int) [primary] declared in <root>.Test1'
          x: CONST Int type=kotlin.Int value=0
    FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Any 
      overridden:
        protected final fun clone (): kotlin.Any declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E of kotlin.Enum) returnType:kotlin.Int
      overridden:
        public final fun compareTo (other: E of kotlin.Enum): kotlin.Int declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      VALUE_PARAMETER name:other index:0 type:E of kotlin.Enum
    FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:kotlin.Boolean 
      overridden:
        public final fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Int 
      overridden:
        public final fun hashCode (): kotlin.Int declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:kotlin.String 
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
  CLASS ENUM_CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Enum]
    $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test2 
    CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:<root>.Test2 [primary] 
      VALUE_PARAMETER name:x index:0 type:kotlin.Int 
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> (name: kotlin.String, ordinal: kotlin.Int) [primary] declared in kotlin.Enum'
          <E>: <none>
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Enum]'
    PROPERTY name:x visibility:public modality:FINAL [val] 
      FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public [final] 
        EXPRESSION_BODY
          GET_VAR 'x: kotlin.Int declared in <root>.Test2.<init>' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
      FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.Test2) returnType:kotlin.Int 
        correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] 
        $this: VALUE_PARAMETER name:<this> type:<root>.Test2 
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='public final fun <get-x> (): kotlin.Int declared in <root>.Test2'
            GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public [final] ' type=kotlin.Int origin=null
              receiver: GET_VAR '<this>: <root>.Test2 declared in <root>.Test2.<get-x>' type=<root>.Test2 origin=null
    CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public superTypes:[kotlin.Any]
      $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test2.ZERO 
      CONSTRUCTOR visibility:public <> () returnType:<root>.Test2.ZERO [primary] 
        BLOCK_BODY
          DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public superTypes:[kotlin.Any]'
      FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Test2.ZERO) returnType:kotlin.Unit 
        $this: VALUE_PARAMETER name:<this> type:<root>.Test2.ZERO 
        BLOCK_BODY
          CALL 'public final fun println (message: kotlin.Any?): kotlin.Unit [inline] declared in kotlin.io' type=kotlin.Unit origin=null
            message: CONST String type=kotlin.String value="ZERO"
      FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean 
        overridden:
          public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
        VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
      FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int 
        overridden:
          public open fun hashCode (): kotlin.Int declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
      FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String 
        overridden:
          public open fun toString (): kotlin.String declared in kotlin.Any
        $this: VALUE_PARAMETER name:<this> type:kotlin.Any 
    CLASS ENUM_ENTRY name:ONE modality:FINAL visibility:public superTypes:[<root>.Test2]
      $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test2.ONE 
      CONSTRUCTOR visibility:public <> () returnType:<root>.Test2.ONE [primary] 
        BLOCK_BODY
          DELEGATING_CONSTRUCTOR_CALL 'private constructor <init> (x: kotlin.Int) [primary] declared in <root>.Test2'
            x: CONST Int type=kotlin.Int value=1
          INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_ENTRY name:ONE modality:FINAL visibility:public superTypes:[<root>.Test2]'
      FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Test2.ONE) returnType:kotlin.Unit 
        $this: VALUE_PARAMETER name:<this> type:<root>.Test2.ONE 
        BLOCK_BODY
          CALL 'public final fun println (message: kotlin.Any?): kotlin.Unit [inline] declared in kotlin.io' type=kotlin.Unit origin=null
            message: CONST String type=kotlin.String value="ONE"
      FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Any 
        overridden:
          protected final fun clone (): kotlin.Any declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E of kotlin.Enum) returnType:kotlin.Int
        overridden:
          public final fun compareTo (other: E of kotlin.Enum): kotlin.Int declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
        VALUE_PARAMETER name:other index:0 type:E of kotlin.Enum
      FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:kotlin.Boolean 
        overridden:
          public final fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
        VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
      FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Int 
        overridden:
          public final fun hashCode (): kotlin.Int declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:kotlin.String 
        overridden:
          public open fun toString (): kotlin.String declared in kotlin.Enum
        $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    CONSTRUCTOR visibility:private <> () returnType:<root>.Test2 
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'private constructor <init> (x: kotlin.Int) [primary] declared in <root>.Test2'
          x: CONST Int type=kotlin.Int value=0
    FUN name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Test2) returnType:kotlin.Unit 
      $this: VALUE_PARAMETER name:<this> type:<root>.Test2 
    FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Any 
      overridden:
        protected final fun clone (): kotlin.Any declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E of kotlin.Enum) returnType:kotlin.Int
      overridden:
        public final fun compareTo (other: E of kotlin.Enum): kotlin.Int declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      VALUE_PARAMETER name:other index:0 type:E of kotlin.Enum
    FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:kotlin.Boolean 
      overridden:
        public final fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
      VALUE_PARAMETER name:other index:0 type:kotlin.Any? 
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:kotlin.Int 
      overridden:
        public final fun hashCode (): kotlin.Int declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:kotlin.String 
      overridden:
        public open fun toString (): kotlin.String declared in kotlin.Enum
      $this: VALUE_PARAMETER name:<this> type:kotlin.Enum 

