[IR] Reorganize test files in involvesIrInterpreter dir
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// !LANGUAGE: +IntrinsicConstEvaluation
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_K1: JVM_IR
|
||||
// WITH_STDLIB
|
||||
|
||||
const val trimIndent = "123".<!EVALUATED("123")!>trimIndent()<!>
|
||||
const val complexTrimIndent =
|
||||
"""
|
||||
ABC
|
||||
123
|
||||
456
|
||||
""".<!EVALUATED("ABC\n123\n456")!>trimIndent()<!>
|
||||
|
||||
fun box(): String {
|
||||
if (<!EVALUATED("false")!>trimIndent != "123"<!>) return "Fail 1"
|
||||
if (<!EVALUATED("false")!>complexTrimIndent != "ABC\n123\n456"<!>) return "Fail 2"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user