Skip to content

Commit ae53b12

Browse files
committed
fix and expand panic tests
1 parent b2cddd2 commit ae53b12

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.

tests/run-pass/panic/div-by-zero-2.rs

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)