[Test] Reproduce KT-65415 and KT-66432

This commit is contained in:
Dmitriy Novozhilov
2024-03-07 14:46:24 +02:00
committed by Space Team
parent d352cc9d96
commit 7a383373b0
22 changed files with 142 additions and 0 deletions
@@ -0,0 +1,17 @@
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6, WASM, NATIVE
// IGNORE_BACKEND_K2: ANY
// non-jvm backends are ignored because of KT-66432
// ISSUE: KT-65415, KT-66432
// FILE: IntrinsicConstEvaluation.kt
package kotlin.internal
annotation class IntrinsicConstEvaluation
// FILE: usage.kt
import kotlin.internal.IntrinsicConstEvaluation
@IntrinsicConstEvaluation
fun test(): String = "OK"
fun box(): String = test()