Prohibited @Strictfp annotation on classes (it's not supported yet), Fix for KT-11109: Strictfp annotation do nothing when applied to class

#KT-11109 Fixed
This commit is contained in:
Michael Bogdanov
2016-02-25 11:14:23 +03:00
parent 894c11d412
commit 1b94904684
4 changed files with 39 additions and 1 deletions
@@ -193,6 +193,12 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
doTest(fileName);
}
@TestMetadata("strictfpOnClass.kt")
public void testStrictfpOnClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/strictfpOnClass.kt");
doTest(fileName);
}
@TestMetadata("Synchronized.kt")
public void testSynchronized() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/Synchronized.kt");