blob: 2ff7587752d30ff3c8522b44935276f00ae7ce27 [file] [log] [blame]
class C() {
companion object Foo {
fun create() = 3
}
}
fun box(): String {
val c1 = C.Foo.create()
val c2 = C.create()
return if (c1 == 3 && c2 == 3) "OK" else "fail"
}