Add test for IR serialization
This commit is contained in:
committed by
TeamCityServer
parent
f0fb0cbefe
commit
d2738c02cc
+6
@@ -4216,6 +4216,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritFromJava.kt")
|
||||
public void testInheritFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/inheritFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("rawType.kt")
|
||||
public void testRawType() throws Exception {
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// FILE: Base.java
|
||||
public class Base {
|
||||
public String ok() { return "OK"; }
|
||||
}
|
||||
|
||||
// FILE: Derived.kt
|
||||
class Derived: Base()
|
||||
|
||||
inline fun ok() = Derived().ok()
|
||||
|
||||
// FILE: box.kt
|
||||
fun box() = ok()
|
||||
+6
@@ -4216,6 +4216,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritFromJava.kt")
|
||||
public void testInheritFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/inheritFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("rawType.kt")
|
||||
public void testRawType() throws Exception {
|
||||
|
||||
+6
@@ -4216,6 +4216,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritFromJava.kt")
|
||||
public void testInheritFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/inheritFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("rawType.kt")
|
||||
public void testRawType() throws Exception {
|
||||
|
||||
+6
@@ -4216,6 +4216,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritFromJava.kt")
|
||||
public void testInheritFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/inheritFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("rawType.kt")
|
||||
public void testRawType() throws Exception {
|
||||
|
||||
+6
@@ -4216,6 +4216,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritFromJava.kt")
|
||||
public void testInheritFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/signatureMangling/inheritFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("rawType.kt")
|
||||
public void testRawType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user