// ignore-windows: Unwind panicking does not currently work on Windows fn main() { #[cfg(target_pointer_width="64")] let bad = unsafe { std::mem::transmute::(42) }; #[cfg(target_pointer_width="32")] let bad = unsafe { std::mem::transmute::(42) }; bad[0]; }