5824b9c59c
27 failing tests are muted
23 lines
284 B
Kotlin
Vendored
23 lines
284 B
Kotlin
Vendored
// IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6, NATIVE, WASM
|
|
// IGNORE_BACKEND: JVM
|
|
// IGNORE_BACKEND_K2: JVM_IR
|
|
|
|
// expected: rv: kotlin.Unit
|
|
|
|
class C {
|
|
fun foo() {
|
|
B()
|
|
}
|
|
}
|
|
|
|
class A
|
|
fun A.ext() = Unit
|
|
|
|
class B {
|
|
fun bar() {
|
|
A().ext()
|
|
}
|
|
}
|
|
|
|
val rv = C().foo()
|