Minor, add more tests on signature-polymorphic calls

Add a test on null (since null is a special case in the
PolymorphicSignature spec), and a test on a call without assignment to a
variable
This commit is contained in:
Alexander Udalov
2019-12-13 20:01:49 +03:00
parent 64d40b4743
commit 7eda60d57e
6 changed files with 56 additions and 0 deletions
@@ -18410,6 +18410,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/polymorphicSignature/invokeExactWithInlineClass.kt");
}
@TestMetadata("nullArgument.kt")
public void testNullArgument() throws Exception {
runTest("compiler/testData/codegen/box/polymorphicSignature/nullArgument.kt");
}
@TestMetadata("varargOfObjects_after.kt")
public void testVarargOfObjects_after() throws Exception {
runTest("compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_after.kt");