// compile-flags: -Zmiri-allow-uninit-numbers // This test is adapted from https://github.com/rust-lang/miri/issues/1340#issue-600900312. fn main() { let _val1 = unsafe { std::mem::MaybeUninit::::uninit().assume_init() }; let _val2 = unsafe { std::mem::MaybeUninit::::uninit().assume_init() }; let _val3 = unsafe { std::mem::MaybeUninit::::uninit().assume_init() }; }