about summary refs log tree commit diff
path: root/tests/run-make/const_fn_mir/rmake.rs
blob: 0c33b1ce34ef9a1bed827d42e51b184cfee953ca (plain)
1
2
3
4
5
6
7
8
9
10
// 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();
}