blob: 08ea63f58ff5974bb296a96288fe6452daa4531b [file] [log] [blame]
fn main() {
let x: i32 = unsafe { *std::ptr::null() }; //~ ERROR constant evaluation error: invalid use of NULL pointer
panic!("this should never print: {}", x);
}