mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
9 lines
173 B
Plaintext
Vendored
9 lines
173 B
Plaintext
Vendored
// SUGGESTED_NAMES: s, getX
|
|
fun foo(a: Int): String {
|
|
val x = "x${s()}$a"
|
|
val y = "${a}${s()}x"
|
|
val z = "xcf$a"
|
|
return "ab${s()}ef"
|
|
}
|
|
|
|
private fun s() = "cd" |