Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/inheritance/statics/staticVsOuter.fir.kt
T

19 lines
253 B
Kotlin
Vendored

// FILE: A.java
public class A {
public static int foo() {return 1;}
}
// FILE: B.java
public class B extends A {
public static int foo() {return 1;}
}
// FILE: 1.kt
fun foo() = ""
class C: B() {
init {
val a: Int = foo()
}
}