Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt28006.kt.txt
T
Dmitriy Novozhilov b454fcc1e0 [FIR] Save IR dumps to .ir.txt files instead of .txt in tests
This is needed to avoid clashes between different dumps from different
  handlers
2021-10-12 17:26:36 +03:00

36 lines
608 B
Kotlin
Vendored

val test1: String
field = "\uD83E\uDD17"
get
val test2: String
field = "\uD83E\uDD17\uD83E\uDD17"
get
const val testConst1: String
field = "\uD83E\uDD17"
get
const val testConst2: String
field = "\uD83E\uDD17\uD83E\uDD17"
get
const val testConst3: String
field = "\uD83E\uDD17\uD83E\uDD17\uD83E\uDD17"
get
const val testConst4: String
field = "\uD83E\uDD17\uD83E\uDD17\uD83E\uDD17\uD83E\uDD17"
get
fun test1(x: Int): String {
return "\uD83E\uDD17" + x
}
fun test2(x: Int): String {
return x + "\uD83E\uDD17"
}
fun test3(x: Int): String {
return x + "\uD83E\uDD17" + x
}