mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
11 lines
228 B
Kotlin
Vendored
11 lines
228 B
Kotlin
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
// SIBLING:
|
|
fun foo(a: Int): Int {
|
|
<selection>/*
|
|
test
|
|
*/
|
|
println(a)
|
|
if (a > 0) return a</selection>
|
|
return -a
|
|
} |