Add test on kotlin.native.Throws ambiguity

KT-35468
This commit is contained in:
Denis Zharkov
2020-04-23 15:22:31 +03:00
committed by Ilya Gorbunov
parent c6ae423816
commit 0f9718bf0d
3 changed files with 281 additions and 0 deletions
@@ -43,6 +43,11 @@ public class DiagnosticsNativeTestGenerated extends AbstractDiagnosticsNativeTes
runTest("compiler/testData/diagnostics/nativeTests/throws.kt");
}
@TestMetadata("throwsClash.kt")
public void testThrowsClash() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/throwsClash.kt");
}
@TestMetadata("topLevelSingleton.kt")
public void testTopLevelSingleton() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/topLevelSingleton.kt");