mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
12 lines
345 B
Kotlin
Vendored
12 lines
345 B
Kotlin
Vendored
// SUGGESTED_NAMES: s, getX
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
// PARAM_TYPES: kotlin.Int
|
|
fun foo(a: Int): String {
|
|
val x = """_c$a
|
|
:${a + 1}d_"""
|
|
val y = "_$a:${a + 1}d_"
|
|
val z = """_c$a:${a + 1}d_"""
|
|
val u = "_c$a\n:${a + 1}d_"
|
|
return """ab<selection>c$a
|
|
:${a + 1}d</selection>ef"""
|
|
} |