Add jvm-abi-gen test on inline class with private ctor
KT-54897
This commit is contained in:
committed by
Space Team
parent
89ba1b515e
commit
beb3759f5a
+6
@@ -0,0 +1,6 @@
|
||||
package app
|
||||
|
||||
import lib.*
|
||||
|
||||
fun runAppAndReturnOk(): String =
|
||||
IC.of("OK").value
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// USE_K2
|
||||
// IGNORE_BACKEND_LEGACY: JVM_IR
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package lib
|
||||
|
||||
@JvmInline
|
||||
value class IC private constructor(val value: String) {
|
||||
companion object {
|
||||
fun of(value: String) = IC(value)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user