rust/tests/compile-fail/panic.rs

9 lines
211 B
Rust
Raw Normal View History

2018-07-12 03:24:25 -05:00
//ignore-windows
// FIXME: Something in panic handling fails validation with full-MIR
// compile-flags: -Zmir-emit-validate=0
2017-02-09 03:59:42 -06:00
//error-pattern: the evaluated program panicked
fn main() {
assert_eq!(5, 6);
}