[Tests] Remove unnecessary usages of OPTIONAL_JVM_INLINE_ANNOTATION

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

#KT-1179
This commit is contained in:
Evgeniy.Zhelenskiy
2022-11-29 04:48:43 +01:00
committed by Space Team
parent 50310d42e3
commit fa4a4e56f3
67 changed files with 269 additions and 326 deletions
@@ -1,5 +1,4 @@
// WITH_STDLIB
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses, +CustomEqualsInValueClasses
// TARGET_BACKEND: JVM_IR
// CHECK_BYTECODE_LISTING
@@ -9,7 +8,7 @@ interface I {
fun getVal(): Int
}
OPTIONAL_JVM_INLINE_ANNOTATION
@JvmInline
value class IC1(val x: Int) : I {
override fun getVal(): Int {
return x
@@ -31,7 +30,7 @@ value class IC1(val x: Int) : I {
}
}
OPTIONAL_JVM_INLINE_ANNOTATION
@JvmInline
value class IC2(val y: Int) : I {
override fun getVal(): Int {
return y * 10