mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
11 lines
291 B
Rust
11 lines
291 B
Rust
// The `needs-unwind -Cpanic=abort` gives a different MIR output.
|
|
|
|
//@ needs-unwind
|
|
|
|
use run_make_support::{cwd, diff, rustc};
|
|
|
|
fn main() {
|
|
rustc().input("main.rs").emit("mir").output("dump-actual.mir").run();
|
|
diff().expected_file("dump.mir").actual_file("dump-actual.mir").run();
|
|
}
|