rust/tests/run-pass/issue-miri-1075.rs
2019-12-02 15:42:33 +01: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.
}