Migrate boxWithJava tests to multi-file framework
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// FILE: Bar.java
|
||||
|
||||
public class Bar {
|
||||
public static String bar() {
|
||||
return Foo.foo();
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: foo.kt
|
||||
|
||||
@file:JvmName("Foo")
|
||||
public fun foo(): String = "OK"
|
||||
|
||||
// FILE: simple.kt
|
||||
|
||||
fun box(): String = Bar.bar()
|
||||
Reference in New Issue
Block a user