[Tests] Move non-value class test to the corresponding folder

This commit is contained in:
Evgeniy.Zhelenskiy
2021-12-23 17:55:49 +03:00
committed by Space
parent 61526c9700
commit 610429a278
9 changed files with 73 additions and 140 deletions
@@ -1,6 +1,8 @@
// WITH_STDLIB
// IGNORE_BACKEND: ANDROID
// IGNORE_BACKEND: NATIVE
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses
// FILE: 1.kt
@@ -13,17 +15,22 @@ annotation class JvmInline
import kotlin.jvm.JvmInline
import kotlin.coroutines.*
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VCString(val a: String)
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VCStringNullable(val a: String?)
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VCAny(val a: Any)
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VCAnyNullable(val a: Any?)
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VCInt(val a: Int)
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class VCIntNullable(val a: Int?)
var result: Any? = null