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
+5
View File
@@ -1,3 +1,8 @@
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: delegated implementation for `foo` is generated in `C`, which makes this code execute fine at runtime.
// For K1, invoking `C.foo` leads to AbstractMethodError, see KT-46120.
// Probably there should be a frontend error. (But if not, then K2 is correct.)
// FILE: kt45934.kt
class C(client: J) : I by client