// FIR_IDENTICAL sealed class A { class B:A() class :A() fun test(a : A) { when(a) { } } }