We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a3d64 commit 2da4e33Copy full SHA for 2da4e33
builtin/int64_test.mbt
@@ -7472,3 +7472,27 @@ test "grouped test for specific patterns" {
7472
// Test for all bits set except the most significant bit
7473
inspect(UInt64::reinterpret_as_double(0x7FFFFFFFFFFFFFFFUL), content="NaN")
7474
}
7475
+
7476
+///|
7477
+test "panic 1L / 0L" {
7478
+ let _ = 1L / 0L
7479
7480
+}
7481
7482
7483
+test "panic 1L % 0L" {
7484
+ let _ = 1L % 0L
7485
7486
7487
7488
7489
+test "panic 1UL / 0UL" {
7490
+ let _ = 1UL / 0UL
7491
7492
7493
7494
7495
+test "panic 1UL % 0UL" {
7496
+ let _ = 1UL % 0UL
7497
7498
0 commit comments