Files
Vladimir Dolzhenko 1697b4cdc6 [kotlin] Use IGNORE_K2 instead of IGNORE_FIR
GitOrigin-RevId: e380b6203a00315f718b7e08d1048ec284dce1a3
2023-08-30 11:02:38 +00:00

15 lines
295 B
Kotlin

// ERROR: Unresolved reference: javaClass
// ERROR: Unresolved reference: javaClass
// IGNORE_K2
open class Any {
override fun hashCode(): Int = 0
}
class With<caret>Constructor(x: Int, s: String) : Any() {
val x: Int = 0
val s: String = ""
override fun hashCode(): Int = 1
}