rust/tests/run-pass/issue-miri-1075.rs

7 lines
177 B
Rust
Raw Normal View History

2019-11-27 16:28:59 -06:00
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.
}