Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportPrivateMemberFromOtherFile.kt
T
2017-04-05 21:35:06 +03:00

26 lines
399 B
Kotlin
Vendored

// FILE: A.kt
class A {
private class Nested {
object O1
}
}
// FILE: B.java
public class B {
private static class JC {
public static class JC1 {
}
}
}
// FILE: C.kt
import A.<!INVISIBLE_REFERENCE!>Nested<!>.*
import B.<!INVISIBLE_REFERENCE!>JC<!>.JC1
fun test() {
<!INVISIBLE_MEMBER!>O1<!>
<!INACCESSIBLE_TYPE!><!INVISIBLE_MEMBER!>JC1<!>()<!>
}