[Test] Reproduce KT-65415 and KT-66432
This commit is contained in:
committed by
Space Team
parent
d352cc9d96
commit
7a383373b0
+17
@@ -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()
|
||||
Reference in New Issue
Block a user