rust/tests/pass/issue-miri-1075.rs
2022-06-01 10:53:38 -04:00

7 lines
177 B
Rust

fn main() {
let f: fn() -> ! = || std::process::exit(0);
f();
// FIXME: Also add a test for <https://github.com/rust-lang/rust/issues/66738>, once that is fixed.
}