2023-10-16 12:36:39 -05:00
|
|
|
// skip-filecheck
|
2019-04-11 04:11:11 -05:00
|
|
|
// compile-flags: -Z mir-opt-level=0
|
|
|
|
|
2020-07-27 14:22:43 -05:00
|
|
|
// EMIT_MIR byte_slice.main.SimplifyCfg-elaborate-drops.after.mir
|
2019-04-11 04:11:11 -05:00
|
|
|
fn main() {
|
|
|
|
let x = b"foo";
|
|
|
|
let y = [5u8, b'x'];
|
|
|
|
}
|