Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
codegen
/
box
/
funInterface
/
kt79092.kt
blob: 6af7bb0ebdc36717e97f4aa2a5dd0713df8ffd05 [
file
]
// FILE: A.kt
fun
interface
I
{
fun test
(
x
:
Int
=
10
,
y
:
Int
=
20
)
=
process
(
x
+
y
)
fun process
(
a
:
Int
)
:
Int
}
// FILE: B.kt
fun box
()
:
String
{
val x
=
I
{
it
*
2
}
if
(
x
.
test
()
!=
60
)
return
"FAIL"
return
"OK"
}