Files
kotlin-fork/compiler/testData/ir/irText/expressions/stringTemplates.kt
T
2021-04-26 12:50:55 +03:00

17 lines
242 B
Kotlin
Vendored

// FIR_IDENTICAL
fun foo(): String = ""
val x = 42
val test1 = ""
val test2 = "abc"
val test3 = """"""
val test4 = """abc"""
val test5 = """
abc
"""
val test6 = "$test1 ${foo()}"
val test7 = "$test1"
val test8 = "${foo()}"
val test9 = "$x"