rust/tests/mir-opt/byte_slice.rs
2023-01-11 09:32:08 +00:00

8 lines
163 B
Rust

// compile-flags: -Z mir-opt-level=0
// EMIT_MIR byte_slice.main.SimplifyCfg-elaborate-drops.after.mir
fn main() {
let x = b"foo";
let y = [5u8, b'x'];
}