Files
kotlin-fork/js/js.translator/testData/box/multiFile/classOfTheSameNameInAnotherPackage.kt
T
Alexey Andreev 3b3fd0fa0d JS: fix DCE limits in test data to fit new kotlin.js size
The size has increased due to new implementation of KClass
2017-10-06 18:16:51 +03:00

19 lines
244 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1116
// FILE: A.kt
package foo
open class A() {
fun f() = 3
}
fun box(): String {
return if ((A().f() + bar.A().f()) == 9) "OK" else "fail"
}
// FILE: B.kt
package bar
open class A() {
fun f() = 6
}