mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
// 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)
|
||||
|
||||
Reference in New Issue
Block a user