Files
kotlin-fork/compiler/testData/diagnostics/tests/j+k/brokenCode/classDuplicates.fir.kt
T

14 lines
217 B
Kotlin
Vendored

// FILE: Hello.kt
private class <!PACKAGE_OR_CLASSIFIER_REDECLARATION!>Hello<!>()
{
val a = 4
}
fun test() {
// no exception is thrown (see KT-3897)
Hello().a
}
// FILE: Hello.java
public class Hello {}