]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/byte_slice.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[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 }