]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/byte_slice.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / 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 }