FILE: exhaustiveness_sealedSubClass.kt
    public sealed class A : R|kotlin/Any| {
        protected constructor(): R|A| {
            super<R|kotlin/Any|>()
        }

    }
    public sealed class B : R|A| {
        protected constructor(): R|B| {
            super<R|A|>()
        }

    }
    public final class C : R|A| {
        public constructor(): R|C| {
            super<R|A|>()
        }

    }
    public sealed class D : R|B| {
        protected constructor(): R|D| {
            super<R|B|>()
        }

    }
    public sealed class E : R|B| {
        protected constructor(): R|E| {
            super<R|B|>()
        }

    }
    public final fun test_1(e: R|A|): R|kotlin/Unit| {
        lval a: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|C|) ->  {
                Int(1)
            }
            ($subj$ is R|D|) ->  {
                Int(2)
            }
            ($subj$ is R|E|) ->  {
                Int(3)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
        lval b: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|B|) ->  {
                Int(1)
            }
            ($subj$ is R|C|) ->  {
                Int(2)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
        lval c: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|B|) ->  {
                Int(1)
            }
            ($subj$ is R|C|) ->  {
                Int(2)
            }
            ($subj$ is R|E|) ->  {
                Int(3)
            }
            ($subj$ is R|D|) ->  {
                Int(4)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
        lval d: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|E|) ->  {
                Int(1)
            }
            ($subj$ is R|A|) ->  {
                Int(2)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
    }
    public final fun test_2(e: R|A|): R|kotlin/Unit| {
        lval a: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|D|) ->  {
                Int(1)
            }
            ($subj$ is R|E|) ->  {
                Int(2)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
        lval b: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|B|) ->  {
                Int(1)
            }
            ($subj$ is R|D|) ->  {
                Int(2)
            }
            ($subj$ is R|E|) ->  {
                Int(3)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
        lval c: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|B|) ->  {
                Int(1)
            }
            ($subj$ is R|D|) ->  {
                Int(2)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
        lval d: R|kotlin/Int| = when (lval <when-subject>: R|A| = R|<local>/e|) {
            ($subj$ is R|C|) ->  {
                Int(1)
            }
        }
        .R|kotlin/Int.plus|(Int(0))
    }
