1 // Deref a raw ptr to access a field of a large struct, where the field
2 // is allocated but not the entire struct is.
5 let xptr = &x as *const _ as *const (i32, i32, i32);
6 let val = unsafe { (*xptr).1 }; //~ ERROR pointer must be in-bounds at offset 12, but is outside bounds of alloc