// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6, NATIVE, WASM // ISSUE: KT-55318 // KT-55486: native linker error with `-Pkotlin.internal.native.test.cacheMode=STATIC_EVERYWHERE` // IGNORE_BACKEND_K2: NATIVE // MODULE: lib // FILE: lib.kt package repro interface I open class Super { fun foo(i: I) {} } class Sub: Super() { /* override fun foo(i: I) */ } // MODULE: main(lib) // FILE: main.kt package repro class User { val sub = Sub() fun foo(i: I) = sub.foo(i) } fun box(): String { return "OK" }