[KLIB] API 4 ABI: Add tests for public members of EEC

This commit is contained in:
Dmitriy Dolovov
2023-11-14 12:15:40 +01:00
committed by Space Team
parent 11b7c35eab
commit 01f072bb7d
3 changed files with 22 additions and 5 deletions
+16 -3
View File
@@ -38,11 +38,24 @@ enum class EnumClassWithoutEntryClasses {
}
enum class EnumClassWithEntryClasses {
FOO_HAS_CLASS { override fun function() = "" },
FOO_HAS_CLASS {
override val overriddenProperty get() = ""
override fun overriddenFunction() = ""
val fooOwnProperty get() = ""
fun fooOwnFunction() = ""
inner class FooInner
},
BAR_NO_CLASS,
BAZ_HAS_CLASS { override fun function() = "" };
BAZ_HAS_CLASS {
override val overriddenProperty get() = ""
override fun overriddenFunction() = ""
val bazOwnProperty get() = ""
fun bazOwnFunction() = ""
inner class BazInner
};
open fun function(): String = ""
open val overriddenProperty: String get() = ""
open fun overriddenFunction(): String = ""
}
class CompanionHolder1 {