mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 08:31:35 +00:00
14 lines
320 B
Kotlin
Vendored
14 lines
320 B
Kotlin
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
|
|
// WITH_RUNTIME
|
|
// SIBLING:
|
|
fun foo(a: Int) {
|
|
val b: Int = 1
|
|
|
|
<selection>if(a > 0) {
|
|
println(a)
|
|
}
|
|
println(b)</selection>
|
|
} |