Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
jvmOverloads
/
subClass.kt
blob: c06b3eb61ea2f38a7917a7cbae7b6bd2d40e5d38 [
file
] [
log
] [
blame
]
// TARGET_BACKEND: JVM
// WITH_RUNTIME
open
class
A
{
@JvmOverloads
fun foo
(
x
:
String
,
y
:
String
=
""
,
z
:
String
=
"K"
):
String
{
return
x
+
y
+
z
}
}
class
B
:
A
()
fun box
():
String
{
return
B
().
foo
(
"O"
)
}