mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
11 lines
287 B
Plaintext
Vendored
11 lines
287 B
Plaintext
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
// PARAM_DESCRIPTOR: val b: kotlin.Int defined in foo
|
|
// SIBLING:
|
|
fun foo(a: Int): Int {
|
|
val b: Int = 1
|
|
return i(a, b)
|
|
}
|
|
|
|
private fun i(a: Int, b: Int) = a + b |