21 lines
339 B
Kotlin
Vendored
21 lines
339 B
Kotlin
Vendored
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS
|
|
|
|
// WITH_RUNTIME
|
|
// 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()
|