KT-52671: Add CLI test
The issue in question was obsoleted by development of K2/MPP. ^KT-52671
This commit is contained in:
committed by
Space Team
parent
bfa2c92c7f
commit
47c32ef37f
@@ -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
|
||||||
|
}
|
||||||
@@ -865,6 +865,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
|||||||
runTest("compiler/testData/cli/jvm/jvmRecordWrongTarget.args");
|
runTest("compiler/testData/cli/jvm/jvmRecordWrongTarget.args");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("k2SimpleMultiplatformGenericClass.args")
|
||||||
|
public void testK2SimpleMultiplatformGenericClass() throws Exception {
|
||||||
|
runTest("compiler/testData/cli/jvm/k2SimpleMultiplatformGenericClass.args");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kotlinHomeWithoutStdlib.args")
|
@TestMetadata("kotlinHomeWithoutStdlib.args")
|
||||||
public void testKotlinHomeWithoutStdlib() throws Exception {
|
public void testKotlinHomeWithoutStdlib() throws Exception {
|
||||||
runTest("compiler/testData/cli/jvm/kotlinHomeWithoutStdlib.args");
|
runTest("compiler/testData/cli/jvm/kotlinHomeWithoutStdlib.args");
|
||||||
|
|||||||
Reference in New Issue
Block a user