mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
8 lines
194 B
Rust
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);
|
|
}
|