rust/tests/run-make/const_fn_mir/rmake.rs
2024-08-10 18:06:10 +00:00

11 lines
286 B
Rust

// The `needs-unwind -Cpanic=abort` gives a different MIR output.
//@ needs-unwind
use run_make_support::{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();
}