[IR] Enable tests for inline classes secondary constructors with body for not JVM

Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>

#KT-55333
This commit is contained in:
Evgeniy.Zhelenskiy
2022-12-07 15:13:48 +01:00
parent abc1d942d1
commit f09fb5ed09
10 changed files with 47 additions and 4 deletions
@@ -1,12 +1,13 @@
// LANGUAGE: +ValueClassesSecondaryConstructorWithBody
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND: JVM
// CHECK_BYTECODE_LISTING
// WITH_STDLIB
// FIR_IDENTICAL
// WORKS_WHEN_VALUE_CLASS
val l = mutableListOf<Any>()
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VC(val x: Int) {
constructor(xD: Double): this(-xD.toInt()) {
l.add(xD)