rust/tests/compile-fail/panic.rs

8 lines
194 B
Rust

// 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);
}