K2: add bytecode listing tests

#KT-57171 Fixed
This commit is contained in:
Alexander Udalov
2023-03-10 00:18:25 +01:00
parent f8deae4570
commit f0fba7be64
59 changed files with 5423 additions and 55 deletions
@@ -1,6 +1,9 @@
// !LANGUAGE: +InlineClasses
// WITH_STDLIB
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: KT-57211 K2: incorrect "error: an annotation argument must be a compile-time constant" on unsigned array in annotation argument
annotation class Ann(
val u: UInt,
val uba: UByteArray,
@@ -16,4 +19,4 @@ annotation class Ann(
[1u, 1u],
ulongArrayOf(1u, 1u)
)
fun foo() {}
fun foo() {}