Add a bytecode test that checks inlining of adapted references

This commit is contained in:
pyos
2020-09-25 16:30:16 +02:00
committed by max-kammerer
parent 9a3507af59
commit 6dc08cb2fd
10 changed files with 56 additions and 0 deletions
@@ -795,6 +795,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@TestMetadata("adapted.kt")
public void testAdapted() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/adapted.kt");
}
public void testAllFilesPresentInCallableReference() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}