blob: 0f0c9950f1a381cf11487093bc7757f95f4ccd15 [file] [log] [blame]
fun test() {
when (val) {}
when (val x1) {}
when (val x2 = ) {}
when (val x3: ) {}
when (val x = 1; 42)
when (fun foo() {}) {}
when (class C {}) {}
when (interface I {}) {}
when (object Obj {}) {}
when (typealias TA = T) {}
}