JVM: report error on -Xjdk-release=6 without -jvm-target

#KT-59098
This commit is contained in:
Alexander Udalov
2024-02-14 15:44:49 +01:00
committed by Space Team
parent cdcb65c749
commit 1bc08fc5b8
4 changed files with 20 additions and 1 deletions
@@ -755,6 +755,11 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/jdkRelease.args");
}
@TestMetadata("jdkRelease6WithoutExplicitJvmTarget.args")
public void testJdkRelease6WithoutExplicitJvmTarget() {
runTest("compiler/testData/cli/jvm/jdkRelease6WithoutExplicitJvmTarget.args");
}
@TestMetadata("jdkRelease8.args")
public void testJdkRelease8() {
runTest("compiler/testData/cli/jvm/jdkRelease8.args");