Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
417088e15084daef5c72bc17ea66d3cf3c026c33
/
.
/
compiler
/
testData
/
codegen
/
boxJvm
/
jvmField
/
interfaceCompanion.kt
blob: 088baf2dbdf0c22dff9eb31bc65636f06c18f19b [
file
]
// TARGET_BACKEND: JVM
// WITH_STDLIB
// FILE: Foo.kt
public
class
Bar
(
public
val value
:
String
)
interface
Foo
{
companion
object
{
@JvmField
val FOO
=
Bar
(
"OK"
)
}
}
// FILE: bar.kt
fun box
():
String
{
return
Foo
.
FOO
.
value
}