mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
import test.simpleJavaEnumWithStaticImport.A
|
||||
// FILE: test/En.java
|
||||
|
||||
package test;
|
||||
|
||||
public enum En {
|
||||
A;
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
import test.En.A
|
||||
|
||||
fun box() =
|
||||
if (A.toString() == "A") "OK"
|
||||
|
||||
Reference in New Issue
Block a user