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 09:14:28 +00:00
//@ needs-unwind
2024-08-10 18:06:10 +00: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();
}