JVM IR: Check that we generate callable references in tests

This commit is contained in:
Steven Schäfer
2022-06-13 16:13:42 +02:00
committed by Alexander Udalov
parent 2acfb3a41f
commit 8014712569
9 changed files with 54 additions and 0 deletions
@@ -12179,6 +12179,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/directInvokeOptimization/boundMemberRef.kt");
}
@Test
@TestMetadata("canary.kt")
public void testCanary() throws Exception {
runTest("compiler/testData/codegen/box/directInvokeOptimization/canary.kt");
}
@Test
@TestMetadata("capturingLambda.kt")
public void testCapturingLambda() throws Exception {
@@ -12221,6 +12221,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/directInvokeOptimization/boundMemberRef.kt");
}
@Test
@TestMetadata("canary.kt")
public void testCanary() throws Exception {
runTest("compiler/testData/codegen/box/directInvokeOptimization/canary.kt");
}
@Test
@TestMetadata("capturingLambda.kt")
public void testCapturingLambda() throws Exception {
@@ -10855,6 +10855,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/directInvokeOptimization/boundMemberRef.kt");
}
@TestMetadata("canary.kt")
public void testCanary() throws Exception {
runTest("compiler/testData/codegen/box/directInvokeOptimization/canary.kt");
}
@TestMetadata("capturingLambda.kt")
public void testCapturingLambda() throws Exception {
runTest("compiler/testData/codegen/box/directInvokeOptimization/capturingLambda.kt");