Files
kotlin-fork/js/js.translator/testData/box/inlineMultiModule/importObjectInstance.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

15 lines
228 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1117
// MODULE: lib
// FILE: lib.kt
object O {
fun bar() = "OK"
}
inline fun foo() = O.bar()
// MODULE: main(lib)
// FILE: main.kt
// CHECK_CONTAINS_NO_CALLS: box except=bar
fun box() = foo()