Add new tests to check evaluation of intrinsic сonsts
This commit is contained in:
+30
@@ -20057,6 +20057,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/constInteraction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumConstName.kt")
|
||||
public void testEnumConstName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/enumConstName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fromJava.kt")
|
||||
public void testFromJava() throws Exception {
|
||||
@@ -20069,6 +20075,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/fromJavaSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifConstVal.kt")
|
||||
public void testIfConstVal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/ifConstVal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kCallable.kt")
|
||||
public void testKCallable() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kCallable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12248.kt")
|
||||
public void testKt12248() throws Exception {
|
||||
@@ -20081,11 +20099,23 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt15913.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stdlibConstFun.kt")
|
||||
public void testStdlibConstFun() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/stdlibConstFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsigned.kt")
|
||||
public void testUnsigned() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/unsigned.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user