mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
AbstractCompileKotlinAgainstMultifileKotlinTest is broken in this commit; will be fixed later
23 lines
260 B
Kotlin
Vendored
23 lines
260 B
Kotlin
Vendored
// FILE: box.kt
|
|
|
|
package test
|
|
|
|
import b.bar
|
|
|
|
fun box(): String = bar()
|
|
|
|
// FILE: caller.kt
|
|
|
|
package b
|
|
|
|
import a.foo
|
|
|
|
fun bar(): String = foo()
|
|
|
|
// FILE: multifileClass.kt
|
|
|
|
@file:[JvmName("MultifileClass") JvmMultifileClass]
|
|
package a
|
|
|
|
fun foo(): String = "OK"
|