]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/byte_slice.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / mir-opt / byte_slice.rs
1 // compile-flags: -Z mir-opt-level=0
2
3 // EMIT_MIR byte_slice.main.SimplifyCfg-elaborate-drops.after.mir
4 fn main() {
5     let x = b"foo";
6     let y = [5u8, b'x'];
7 }