// LANGUAGE: +MultiPlatformProjects
// WITH_STDLIB

// MODULE: common
// FILE: common.kt

expect interface S1
expect interface S2

expect interface S : S1, S2

open class A : S

class B : A()

// MODULE: platform()()(common)
// FILE: platform.kt

actual interface S1 {
    fun s1() = "O"
}

interface S20 {
    fun s2() = "K"
}

actual interface S2 : S20 {
}

actual interface S : S1, S2 {
    fun s3() = s1() + s2()
}

fun box() = B().s3()
