rust/tests/run-pass/issue-miri-184.rs
2018-11-26 15:31:53 +01:00

5 lines
113 B
Rust

pub fn main() {
let bytes: [u8; 8] = unsafe { ::std::mem::transmute(0u64) };
let _val: &[u8] = &bytes;
}