1 #![feature(custom_attribute)]
2 #![allow(dead_code, unused_attributes)]
5 fn overwriting_part_of_relocation_makes_the_rest_undefined() -> i32 {
8 let ptr: *mut _ = &mut p;
9 *(ptr as *mut u32) = 123;
15 fn pointers_to_different_allocations_are_unorderable() -> bool {
16 let x: *const u8 = &1;
17 let y: *const u8 = &2;