Add check for bytecode target when @JvmRecord is used

^KT-43677 In Progress
This commit is contained in:
Denis.Zharkov
2020-12-01 19:08:41 +03:00
parent b860a0c664
commit f64980a597
10 changed files with 67 additions and 1 deletions
@@ -530,6 +530,16 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/jvmDefaultAll.args");
}
@TestMetadata("jvmRecordOk.args")
public void testJvmRecordOk() throws Exception {
runTest("compiler/testData/cli/jvm/jvmRecordOk.args");
}
@TestMetadata("jvmRecordWrongTarget.args")
public void testJvmRecordWrongTarget() throws Exception {
runTest("compiler/testData/cli/jvm/jvmRecordWrongTarget.args");
}
@TestMetadata("kotlinHomeWithoutStdlib.args")
public void testKotlinHomeWithoutStdlib() throws Exception {
runTest("compiler/testData/cli/jvm/kotlinHomeWithoutStdlib.args");