9 lines
163 B
Plaintext
Vendored
9 lines
163 B
Plaintext
Vendored
// WITH_DEFAULT_VALUE: false
|
|
fun foo(a: Int, s: String, i: () -> Int): Int {
|
|
val t = (a + 1) * 2
|
|
return i() - t
|
|
}
|
|
|
|
fun test() {
|
|
foo(1, "2") { 1 + 2 }
|
|
} |