Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
functions
/
defaultargs6.kt
blob: 0f5513f6d8231290e0805f929c66f28cfa74ab74 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
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"