Test for KT-7009: VerifyError: Bad type on operand stack in daload

#KT-7009 Obsolete
This commit is contained in:
Michael Bogdanov
2015-04-09 13:09:03 +03:00
parent 824d1ac556
commit a24d845bd0
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,4 @@
fun box() : String {
val value = (1 to doubleArray(1.0)).second[0]
return if (value == 1.0) "OK" else "fail"
}
@@ -233,6 +233,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
doTestWithStdlib(fileName);
}
@TestMetadata("kt7009.kt")
public void testKt7009() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7009.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("kt7338.kt")
public void testKt7338() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7338.kt");