K2: add BB tests for KT-59380 working properly (compiler error in K1)
#KT-59380 As Designed
This commit is contained in:
committed by
Space Team
parent
dab9ac3b1c
commit
36dd9b6818
+19
@@ -0,0 +1,19 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// JVM_TARGET: 1.8
|
||||
// ISSUE: KT-59380
|
||||
|
||||
// FILE: A.java
|
||||
|
||||
public interface A {
|
||||
static String foo() {
|
||||
return "FAIL";
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: box.kt
|
||||
|
||||
class B : A {
|
||||
fun foo() = "OK"
|
||||
}
|
||||
|
||||
fun box() = B().foo()
|
||||
Reference in New Issue
Block a user