[Test] Reproduce KT-65937
This commit is contained in:
committed by
Space Team
parent
cc2dcf0078
commit
3bf0a11ced
@@ -1,5 +1,7 @@
|
||||
// FIR_DUMP
|
||||
// DUMP_IR
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND_K2: ANY
|
||||
|
||||
annotation class Ann(@Ann(1) val e: Int)
|
||||
|
||||
@@ -14,4 +16,10 @@ public annotation class MyRequiresOptIn(
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = "OK"
|
||||
fun box(): String {
|
||||
val result = MyRequiresOptIn.MyLevel.values().joinToString()
|
||||
return when (result) {
|
||||
"WARNING, ERROR" -> "OK"
|
||||
else -> "Fail: $result"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user