about summary refs log tree commit diff
path: root/src/test/mir-opt/byte_slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/byte_slice.rs')
-rw-r--r--src/test/mir-opt/byte_slice.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/test/mir-opt/byte_slice.rs b/src/test/mir-opt/byte_slice.rs
index 7edfa3e1124..317e96d6f52 100644
--- a/src/test/mir-opt/byte_slice.rs
+++ b/src/test/mir-opt/byte_slice.rs
@@ -1,15 +1,7 @@
 // compile-flags: -Z mir-opt-level=0
 
+// EMIT_MIR rustc.main.SimplifyCfg-elaborate-drops.after.mir
 fn main() {
     let x = b"foo";
     let y = [5u8, b'x'];
 }
-
-// END RUST SOURCE
-// START rustc.main.EraseRegions.after.mir
-// ...
-// _1 = const b"foo";
-// ...
-// _2 = [const 5u8, const 120u8];
-// ...
-// END rustc.main.EraseRegions.after.mir