rust/tests/compile-fail/panic.rs
2018-07-12 10:24:25 +02:00

9 lines
211 B
Rust

//ignore-windows
// FIXME: Something in panic handling fails validation with full-MIR
// compile-flags: -Zmir-emit-validate=0
//error-pattern: the evaluated program panicked
fn main() {
assert_eq!(5, 6);
}