[FIR] KT-57655: Add the missing branch

^KT-57655 Fixed
This commit is contained in:
Nikolay Lunyak
2023-04-07 17:14:22 +03:00
committed by Space Team
parent fa0f9a9201
commit f826011c9f
7 changed files with 52 additions and 0 deletions
@@ -0,0 +1,21 @@
// FIR_IDENTICAL
// ISSUE: KT-57655
// !LANGUAGE: +ImplicitSignedToUnsignedIntegerConversion
// ALLOW_KOTLIN_PACKAGE
// FILE: annotation.kt
package kotlin.internal
annotation class ImplicitIntegerCoercion
// FILE: test.kt
import kotlin.internal.ImplicitIntegerCoercion
fun test(@ImplicitIntegerCoercion x: UInt) = x
fun main() {
println(test(x = 5))
println(test(5))
}