KT-52671: Add CLI test

The issue in question was obsoleted by development of K2/MPP.

^KT-52671
This commit is contained in:
Stanislav Ruban
2023-05-05 09:51:08 +03:00
committed by Space Team
parent bfa2c92c7f
commit 47c32ef37f
5 changed files with 21 additions and 0 deletions
@@ -0,0 +1,8 @@
$TESTDATA_DIR$/k2SimpleMultiplatformGenericClass/common.kt
$TESTDATA_DIR$/k2SimpleMultiplatformGenericClass/jvm.kt
-d
$TEMP_DIR$
-Xmulti-platform
-Xcommon-sources=$TESTDATA_DIR$/k2SimpleMultiplatformGenericClass/common.kt
-language-version
2.0
@@ -0,0 +1,2 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
@@ -0,0 +1,3 @@
expect class AtomicRef<T> {
val value: T
}
@@ -0,0 +1,3 @@
actual class AtomicRef<T> constructor(value: T) {
actual val value: T = value
}