Files
rust/tests/mir-opt/byte_slice.rs
T
2024-02-22 16:04:04 +00:00

9 lines
182 B
Rust

// skip-filecheck
//@ 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'];
}