Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
functions
/
defaultargs6.kt
blob: 90c4e943d5d33cd5a7229820584dc309ea577edd [
file
] [
log
] [
blame
]
interface
A
{
fun foo
(
x
:
Int
,
y
:
Int
=
x
+
20
,
z
:
Int
=
y
*
2
)
=
z
}
class
B
:
A
{}
fun box
()
=
if
(
B
().
foo
(
1
)
==
42
)
"OK"
else
"Fail"