JVM box tests for KT-23974
This commit is contained in:
committed by
TeamCityServer
parent
3f7a776fb8
commit
a8d848ccbd
Generated
+5
@@ -17703,6 +17703,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/jvmName/functionWithDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt23974.kt")
|
||||
public void testKt23974() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/kt23974.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("loadJvmName.kt")
|
||||
public void testLoadJvmName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/loadJvmName.kt");
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Suppress("x")
|
||||
@get:JvmName("foo")
|
||||
val vo get() = "O"
|
||||
|
||||
@Suppress("x")
|
||||
@get:JvmName("bar")
|
||||
val vk = "K"
|
||||
|
||||
fun box() = vo + vk
|
||||
+5
@@ -17703,6 +17703,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvmName/functionWithDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt23974.kt")
|
||||
public void testKt23974() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/kt23974.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("loadJvmName.kt")
|
||||
public void testLoadJvmName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/loadJvmName.kt");
|
||||
|
||||
+5
@@ -17703,6 +17703,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/jvmName/functionWithDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt23974.kt")
|
||||
public void testKt23974() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/kt23974.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("loadJvmName.kt")
|
||||
public void testLoadJvmName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/loadJvmName.kt");
|
||||
|
||||
+5
@@ -17703,6 +17703,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/jvmName/functionWithDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt23974.kt")
|
||||
public void testKt23974() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/kt23974.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("loadJvmName.kt")
|
||||
public void testLoadJvmName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmName/loadJvmName.kt");
|
||||
|
||||
Reference in New Issue
Block a user