rust/tests/ui/consts/miri_unleashed/auxiliary/static_cross_crate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
133 B
Rust
Raw Normal View History

pub static mut ZERO: [u8; 1] = [0];
2020-04-29 07:55:05 -05:00
pub static ZERO_REF: &[u8; 1] = unsafe { &ZERO };
pub static mut OPT_ZERO: Option<u8> = Some(0);