// "Add remaining branches" "true" // WITH_RUNTIME sealed class A class B : A() fun test(a: A) { val r = when (a) { // comment } }