Use java.lang.Long.divideUnsigned/remainderUnsigned in Java 1.8+

#KT-24876
This commit is contained in:
Dmitry Petrov
2019-01-11 17:32:12 +03:00
parent a344feff5c
commit 9973d59643
19 changed files with 361 additions and 2 deletions
@@ -24288,6 +24288,26 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt");
}
@TestMetadata("unsignedLongDivide_jvm16.kt")
public void testUnsignedLongDivide_jvm16() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt");
}
@TestMetadata("unsignedLongDivide_jvm18.kt")
public void testUnsignedLongDivide_jvm18() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt");
}
@TestMetadata("unsignedLongRemainder_jvm16.kt")
public void testUnsignedLongRemainder_jvm16() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt");
}
@TestMetadata("unsignedLongRemainder_jvm18.kt")
public void testUnsignedLongRemainder_jvm18() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt");
}
@TestMetadata("unsignedTypePrefixIncrementDecrementBoxing.kt")
public void testUnsignedTypePrefixIncrementDecrementBoxing() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt");