Migrate boxMultiFile and boxMultifileClass tests to new multi-file tests
AbstractCompileKotlinAgainstMultifileKotlinTest is broken in this commit; will be fixed later
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
// 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"
|
||||
Reference in New Issue
Block a user