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

6 lines
66 B
Rust

#![allow(unconditional_panic)]
fn main() {
let _n = 1 / 0;
}