mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Add test cases for obsolete issues
#KT-3407 Obsolete #KT-4753 Obsolete
This commit is contained in:
11
compiler/testData/codegen/boxWithJava/interfaces/inheritJavaInterface/interfaceInheritance.kt
vendored
Normal file
11
compiler/testData/codegen/boxWithJava/interfaces/inheritJavaInterface/interfaceInheritance.kt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
interface A : MyInt {
|
||||
override public fun test(): String? {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
class B: A
|
||||
|
||||
fun box() : String {
|
||||
return B().test()!!
|
||||
}
|
||||
Reference in New Issue
Block a user