Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
compiler
/
testData
/
codegen
/
box
/
traits
/
inheritJavaInterface.kt
blob: e97a48935a1ed9b3dcc793cecba099c08c44470f [
file
]
// TARGET_BACKEND: JVM
// FILE: MyInt.java
public
interface
MyInt
{
String
test
();
}
// FILE: test.kt
interface
A
:
MyInt
{
override
public
fun test
():
String
?
{
return
"OK"
}
}
class
B
:
A
fun box
()
:
String
{
return
B
().
test
()!!
}