4 const Z: i32 = unsafe { *(&1 as *const i32) };
6 // bad, will thus error in miri
7 const Z2: i32 = unsafe { *(42 as *const i32) }; //~ ERROR evaluation of constant value failed
8 //~| is a dangling pointer
9 const Z3: i32 = unsafe { *(44 as *const i32) }; //~ ERROR evaluation of constant value failed
10 //~| is a dangling pointer