mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
9 lines
174 B
Plaintext
Vendored
9 lines
174 B
Plaintext
Vendored
// SUGGESTED_NAMES: s, getX
|
|
fun foo(a: Int): String {
|
|
val x = "x${s()}$a"
|
|
val y = "${a}${s()}x"
|
|
val z = "xacb$a"
|
|
return "${s()}def"
|
|
}
|
|
|
|
private fun s() = "abc" |