Add tests for merging SAM wrappers and references

This commit is contained in:
pyos
2019-04-03 12:52:33 +02:00
committed by max-kammerer
parent e05c151a73
commit 23d742237f
4 changed files with 59 additions and 0 deletions
@@ -3264,6 +3264,16 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
public void testSamWrapperForNullableInitialization() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperForNullableInitialization.kt");
}
@TestMetadata("samWrapperOfLambda.kt")
public void testSamWrapperOfLambda() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperOfLambda.kt");
}
@TestMetadata("samWrapperOfReference.kt")
public void testSamWrapperOfReference() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperOfReference.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/statements")