mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
16 lines
212 B
Kotlin
Vendored
16 lines
212 B
Kotlin
Vendored
// FILE: A.java
|
|
|
|
class A {
|
|
public static void main(String[] args) {
|
|
args[0] = "OK";
|
|
}
|
|
}
|
|
|
|
// FILE: 1.kt
|
|
|
|
fun box(): String {
|
|
val args = arrayOf("Fail")
|
|
(A::main)(args)
|
|
return args[0]
|
|
}
|