1 // This should fail even without validation
2 // compile-flags: -Zmiri-disable-validation
4 #![allow(unused, invalid_value)]
9 match v {} //~ ERROR entered unreachable code
13 let v: Void = unsafe {
14 std::mem::transmute::<(), Void>(())
16 f(v); //~ inside call to `f`