[IR] Reorganize test files in involvesIrInterpreter dir

This commit is contained in:
Ivan Kylchik
2023-04-11 16:26:44 +02:00
committed by Space Team
parent c00c7ffbe0
commit 621f5a0fb7
38 changed files with 1001 additions and 1001 deletions
@@ -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"
}