Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
bridges
/
kt24193.kt
blob: 6bf7742329fd00ac05905c37a734e1fad8613b1b [
file
]
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM
interface
Foo
:
Cloneable
class
Bar
(
val test
:
String
)
:
Foo
{
fun createClone
():
Bar
{
return
this
.
clone
()
as
Bar
}
}
fun box
()
=
Bar
(
"OK"
).
createClone
().
test