2024-06-11 07:05:55 -05:00
|
|
|
// 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};
|
2024-06-11 07:05:55 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
rustc().input("main.rs").emit("mir").output("dump-actual.mir").run();
|
|
|
|
diff().expected_file("dump.mir").actual_file("dump-actual.mir").run();
|
|
|
|
}
|