rust/tests/run-fail/panic/div-by-zero-2.rs

6 lines
66 B
Rust
Raw Normal View History

2020-02-21 03:28:24 -06:00
#![allow(unconditional_panic)]
2019-11-29 06:18:54 -06:00
fn main() {
let _n = 1 / 0;
}