// This test is from https://github.com/rust-lang/miri/issues/1340#issue-600900312. fn main() { let _val = unsafe { std::mem::MaybeUninit::::uninit().assume_init() }; //~^ ERROR: uninitialized }