Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
@@ -0,0 +1,9 @@
|
||||
MODULE main
|
||||
CLASS Sealed.class
|
||||
CLASS METADATA
|
||||
CONSTRUCTOR <init>()V
|
||||
Property: class.metadata.constructor.modifiers
|
||||
K1
|
||||
protected /* secondary */
|
||||
K2
|
||||
private /* secondary */
|
||||
@@ -1,3 +1,5 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63920
|
||||
|
||||
sealed class Sealed(val value: String) {
|
||||
constructor() : this("OK")
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
MODULE main
|
||||
CLASS A.class
|
||||
CLASS METADATA
|
||||
CONSTRUCTOR <init>(I)V
|
||||
Property: class.metadata.constructor.modifiers
|
||||
K1
|
||||
protected /* secondary */
|
||||
K2
|
||||
private /* secondary */
|
||||
@@ -1,3 +1,5 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63920
|
||||
|
||||
class B : A()
|
||||
|
||||
sealed class A() {
|
||||
|
||||
Reference in New Issue
Block a user