blob: b4942f6e5385e8f596616621881da77e9aa53f4c [file] [log] [blame]
// MODULE: lib
// FILE: A.kt
inline class A(val x: String) {
inline fun f(other: A): A = other
}
// MODULE: main(lib)
// FILE: B.kt
fun box(): String {
return A("Fail").f(A("OK")).x
}