// MODULE: lib
// FILE: A.kt

package second

public class Outer() {
    inner class Inner(test: String)
}

// MODULE: main(lib)
// FILE: B.kt

//test for KT-3702 Inner class constructor cannot be invoked in override function with receiver
import second.Outer

fun Outer.testExt() {
    Inner("test")
}

fun box(): String {
    Outer().testExt()
    return "OK"
}
