Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
inheritedMethod.kt
blob: fb9c3bfe08026cdc88d695693b46089ffd9e5924 [
file
] [
log
] [
blame
]
open
class
Foo
{
fun xyzzy
():
String
=
"xyzzy"
}
class
Bar
():
Foo
()
{
fun test
():
String
=
xyzzy
()
}
fun box
()
:
String
{
val bar
=
Bar
()
val f
=
bar
.
test
()
return
if
(
f
==
"xyzzy"
)
"OK"
else
"fail"
}