mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
9 lines
184 B
Rust
9 lines
184 B
Rust
// skip-filecheck
|
|
//@ compile-flags: -Z mir-opt-level=0
|
|
|
|
// EMIT_MIR byte_slice.main.SimplifyCfg-pre-optimizations.after.mir
|
|
fn main() {
|
|
let x = b"foo";
|
|
let y = [5u8, b'x'];
|
|
}
|