mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
AbstractCompileKotlinAgainstMultifileKotlinTest is broken in this commit; will be fixed later
22 lines
273 B
Kotlin
Vendored
22 lines
273 B
Kotlin
Vendored
// FILE: 1/part.kt
|
|
|
|
@file:JvmName("Foo")
|
|
@file:JvmMultifileClass
|
|
package test
|
|
|
|
fun foo(): String = "O"
|
|
|
|
// FILE: 2/part.kt
|
|
|
|
@file:JvmName("Bar")
|
|
@file:JvmMultifileClass
|
|
package test
|
|
|
|
fun bar(): String = "K"
|
|
|
|
// FILE: box.kt
|
|
|
|
package test
|
|
|
|
fun box(): String = foo() + bar()
|