Test for obsolete KT-17134: java.lang.VerifyError: Bad type on operand stack

#KT-17134 Obsolete
This commit is contained in:
Mikhael Bogdanov
2017-04-01 15:34:56 +02:00
parent 4dcae54ed1
commit 7c3ad97df5
6 changed files with 58 additions and 0 deletions
@@ -635,6 +635,18 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt17134.kt")
public void testKt17134() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt17134.kt");
try {
doTest(fileName);
}
catch (Throwable ignore) {
return;
}
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that.");
}
@TestMetadata("kt238.kt")
public void testKt238() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt238.kt");
@@ -276,6 +276,18 @@ public class JsTypedArraysBoxTestGenerated extends AbstractJsTypedArraysBoxTest
doTest(fileName);
}
@TestMetadata("kt17134.kt")
public void testKt17134() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt17134.kt");
try {
doTest(fileName);
}
catch (Throwable ignore) {
return;
}
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that.");
}
@TestMetadata("kt238.kt")
public void testKt238() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/arrays/kt238.kt");