Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
kt3414.kt
blob: 6b4a083eda9911f1659184aa717eae4668e72add [
file
]
interface
A
{
fun foo
():
Int
}
interface
B
{
fun foo
():
Int
}
class
Z
(
val a
:
A
)
:
A
by
a
,
B
fun box
():
String
{
val s
=
Z
(
object
:
A
{
override
fun foo
():
Int
{
return
1
;
}
});
return
if
(
s
.
foo
()
==
1
)
"OK"
else
"fail"
}