[FIR] Add diag test to verify const checker in Java world

Currently, this test is not working for FIR.

#KT-57802 Fixed
This commit is contained in:
Ivan Kylchik
2023-07-10 11:26:25 +02:00
committed by Space Team
parent 4334ae9da9
commit 69a888b431
7 changed files with 78 additions and 0 deletions
@@ -22805,6 +22805,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt15913.kt");
}
@Test
@TestMetadata("kt57802.kt")
public void testKt57802() throws Exception {
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt57802.kt");
}
@Test
@TestMetadata("stdlibConstFun.kt")
public void testStdlibConstFun() throws Exception {
@@ -22805,6 +22805,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt15913.kt");
}
@Test
@TestMetadata("kt57802.kt")
public void testKt57802() throws Exception {
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt57802.kt");
}
@Test
@TestMetadata("stdlibConstFun.kt")
public void testStdlibConstFun() throws Exception {