Skip to content

Commit e0739d9

Browse files
committed
Run filecheck on dest-prop/simple.rs
1 parent 118cfbe commit e0739d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/dest-prop/simple.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
//! Copy of `nrvo-simple.rs`, to ensure that full dest-prop handles it too.
43
//@ unit-test: DestinationPropagation
54
// EMIT_MIR simple.nrvo.DestinationPropagation.diff
65
fn nrvo(init: fn(&mut [u8; 1024])) -> [u8; 1024] {
6+
// CHECK-LABEL: fn nrvo
7+
// CHECK-NOT: {{_.*}} = {{_.*}}
78
let mut buf = [0; 1024];
89
init(&mut buf);
910
buf

0 commit comments

Comments
 (0)