Added Native-specific frontend checker for @SharedImmutable (#3091)

This commit is contained in:
LepilkinaElena
2020-03-04 16:45:37 +03:00
committed by GitHub
parent 8b559b20e2
commit b031706ea9
7 changed files with 321 additions and 1 deletions
@@ -28,6 +28,11 @@ public class DiagnosticsNativeTestGenerated extends AbstractDiagnosticsNativeTes
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/nativeTests"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@TestMetadata("sharedImmutable.kt")
public void testSharedImmutable() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt");
}
@TestMetadata("throws.kt")
public void testThrows() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/throws.kt");