and another reference

This commit is contained in:
Ralf Jung 2019-11-25 15:10:39 +01:00
parent 66dc939787
commit 2152258b04

View File

@ -26,7 +26,7 @@ fn main() {
let g = magic1(|i| assert_eq!(i, 2)) as fn(i32);
g(2);
// FIXME: This fails with "invalid use of NULL pointer"
// FIXME: This fails with "invalid use of NULL pointer" <https://github.com/rust-lang/miri/issues/1075>
//let h: fn() -> ! = || std::process::exit(0);
//h();
// FIXME: This does not even compile?!? <https://github.com/rust-lang/rust/issues/66738>