Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
kt2532.kt
blob: 24d12e9f8848694326bd2cb7ce1bbc802a72e71f [
file
] [
log
] [
blame
]
package
foo
interface
B
{
val c
:
Int
get
()
=
2
}
class
A
(
val b
:
B
)
:
B
by
b
{
override
val c
:
Int
=
3
}
fun box
():
String
{
val c
=
A
(
object
:
B
{}).
c
return
if
(
c
==
3
)
"OK"
else
"fail: $c"
}