Add test for KT-52338 (fixed together with KT-49507)
This commit is contained in:
committed by
teamcity
parent
66d344975b
commit
6a3be0d8ac
@@ -0,0 +1,18 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
|
||||
// FILE: Base.java
|
||||
public class Base {
|
||||
protected String TAG = "OK";
|
||||
}
|
||||
|
||||
// FILE: Sub.kt
|
||||
|
||||
class Sub : Base() {
|
||||
companion object {
|
||||
val TAG = "FAIL"
|
||||
}
|
||||
|
||||
fun log() = TAG
|
||||
}
|
||||
|
||||
fun box() = Sub().log()
|
||||
Reference in New Issue
Block a user