rust/tests/run-make/const_fn_mir/rmake.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
286 B
Rust
Raw Normal View History

// The `needs-unwind -Cpanic=abort` gives a different MIR output.
2024-06-17 04:14:28 -05:00
//@ needs-unwind
2024-08-10 13:06:10 -05:00
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();
}