Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
compiler
/
testData
/
codegen
/
box
/
bridges
/
kt1939.kt
blob: ad300dc796e90b4fa1342db88cc9b2cb98f3a00e [
file
]
abstract
class
Foo
<
T
>
{
fun hello
(
id
:
T
)
=
"Hi $id"
}
interface
Tr
{
fun hello
(
s
:
String
):
String
}
class
Bar
:
Foo
<
String
>(),
Tr
{
}
fun box
():
String
=
if
(
Bar
().
hello
(
"Reg"
)
==
"Hi Reg"
)
"OK"
else
"Fail"