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:
+21
@@ -0,0 +1,21 @@
|
||||
// FILE: box.kt
|
||||
|
||||
package test
|
||||
|
||||
import a.foo
|
||||
|
||||
fun box(): String = foo { "OK" }
|
||||
|
||||
// FILE: foo.kt
|
||||
|
||||
@file:[JvmName("A") JvmMultifileClass]
|
||||
package a
|
||||
|
||||
inline fun foo(body: () -> String): String = zee(body())
|
||||
|
||||
// FILE: zee.kt
|
||||
|
||||
@file:[JvmName("A") JvmMultifileClass]
|
||||
package a
|
||||
|
||||
public fun zee(x: String): String = x
|
||||
Reference in New Issue
Block a user