Add jvm-abi-gen test on inline class with private ctor

KT-54897
This commit is contained in:
Alexander Udalov
2022-11-11 12:52:40 +01:00
committed by Space Team
parent 89ba1b515e
commit beb3759f5a
8 changed files with 53 additions and 3 deletions
@@ -0,0 +1,6 @@
package app
import lib.*
fun runAppAndReturnOk(): String =
IC.of("OK").value
@@ -0,0 +1,8 @@
package lib
@JvmInline
value class IC private constructor(val value: String) {
companion object {
fun of(value: String) = IC(value)
}
}