Skip to content

Commit 4adb66b

Browse files
committed
fix and expand panic tests
1 parent a759fcc commit 4adb66b

27 files changed

+47
-18
lines changed

tests/compile-fail/div-by-zero-2.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/compile-fail/overflowing-lsh-neg.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/compile-fail/overflowing-rsh-1.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// ignore-windows: Unwind panicking does not currently work on Windows
2+
#![allow(const_err)]
3+
4+
fn main() {
5+
let _n = 1 / 0;
6+
}

0 commit comments

Comments
 (0)