rust/tests/mir-opt/byte_slice.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
163 B
Rust
Raw Normal View History

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