Files
Dmitriy Novozhilov 61302a2e08 [TEST] Migrate duplicating javac tests to new test runners
Also minimize scope of DiagnosticUsingJavac tests to
 `compiler/testData/diagnostics/tests/javac`. This is fine since
 javac compilation mode is still not finished and no one not going to
 support it
2020-12-16 19:52:25 +03:00

24 lines
327 B
Kotlin
Vendored

// FIR_IDENTICAL
// FILE: p/p.kt
package p
object Object {
sealed class Sealed1 {
sealed class Sealed2 {
}
}
}
// FILE: a/x.java
package a;
import p.Object;
public class x {
public Object.Sealed1.Sealed2 getSealed2() { return null; };
}
// FILE: test.kt
package a
fun test() = x().getSealed2()