]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/byte_slice.rs
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[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 }