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