FILE: enumWithTheSameNameAsEntry.kt
    public final enum class A : R|kotlin/Enum<A>| {
        private constructor(): R|A| {
            super<R|kotlin/Enum<A>|>()
        }

        public final static enum entry A: R|A|
        public final static enum entry B: R|A|
        public final static fun values(): R|kotlin/Array<A>| {
        }

        public final static fun valueOf(value: R|kotlin/String|): R|A| {
        }

        public final static val entries: R|kotlin/enums/EnumEntries<A>|
            public get(): R|kotlin/enums/EnumEntries<A>|

    }
    public final fun test(a: R|A|): R|kotlin/String| {
        ^test when (lval <when-subject>: R|A| = R|<local>/a|) {
            ==($subj$, Q|A|.R|/A.A|) ->  {
                String(A)
            }
            ==($subj$, Q|A|.R|/A.B|) ->  {
                String(B)
            }
        }

    }
