1 // This should fail even without validation
2 // compile-flags: -Zmiri-disable-validation
6 let x = x as *const _ as *const [u32; 0];
7 // This must fail because alignment is violated. Test specifically for loading ZST.
8 let _x = unsafe { *x };
9 //~^ ERROR memory with alignment 2, but alignment 4 is required