blob: 5f40ff294142e41dfc3c88a818f28449934c950f [file] [log] [blame]
// TARGET_BACKEND: JVM
// FILE: FakePlatformName.java
import kotlin.jvm.JvmName;
public class FakePlatformName {
@JvmName(name = "fake")
public String foo() {
return "foo";
}
public String fake() {
return "fake";
}
}
// FILE: FakePlatformName.kt
fun box(): String {
val test1 = FakePlatformName().foo()
if (test1 != "foo") return "Failed: FakePlatformName().foo()==$test1"
return "OK"
}