Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/resolve/javaStaticMembers.fir.kt
T
2020-06-03 10:43:37 +03:00

13 lines
302 B
Kotlin
Vendored

// FILE: Test.java
public class Test {
public static final String FOO = "test";
}
// FILE: test.kt
fun ff() {
val a = Test.FOO
val b = Test?.<!UNRESOLVED_REFERENCE!>FOO<!>
System.out.println(a + b)
System?.<!UNRESOLVED_REFERENCE!>out<!>.<!UNRESOLVED_REFERENCE!>println<!>(a + b)
}