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,5 +1,8 @@
// !LANGUAGE: -AllowSealedInheritorsInDifferentFilesOfSamePackage
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: don't support legacy feature
sealed class TestNoSubclasses(val x: Int)
sealed class TestSubclassAfter(val x: Int)
@@ -11,4 +14,4 @@ sealed class TestSubclassAfterAllDefaults(val x: Int = 0)
class X3 : TestSubclassAfterAllDefaults()
class X4: TestSubclassBefore(1)
sealed class TestSubclassBefore(val x: Int)
sealed class TestSubclassBefore(val x: Int)