Files
kotlin/compiler/testData/codegen/boxInline/private/privateInInlineInMultiFileFacade.kt
Ilya Matveev a5e4e0284e Mute some box tests for native backend
This patch mutes the following test categories:
   * Tests with java dependencies (System class,
     java stdlib, jvm-oriented annotations etc).
   * Coroutines tests.
   * Reflection tests.
   * Tests with an inheritance from the standard
     collections.
2017-03-10 19:59:37 +03:00

27 lines
380 B
Kotlin
Vendored

// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// WITH_RUNTIME
@file:kotlin.jvm.JvmMultifileClass
@file:kotlin.jvm.JvmName("TestKt")
package test
private val prop = "O"
private fun test() = "K"
inline internal fun inlineFun(): String {
return prop + test()
}
class A () {
fun call() = inlineFun()
}
// FILE: 2.kt
import test.*
fun box(): String {
return A().call();
}