Skip to content

Commit ef42830

Browse files
committed
Add FileCheck to non_dominate.rs
Signed-off-by: Shunpoco <[email protected]>
1 parent d3176d5 commit ef42830

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/mir-opt/copy-prop/non_dominate.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
//@ test-mir-pass: CopyProp
32

43
#![feature(custom_mir, core_intrinsics)]
@@ -8,6 +7,11 @@ use core::intrinsics::mir::*;
87

98
#[custom_mir(dialect = "analysis", phase = "post-cleanup")]
109
fn f(c: bool) -> bool {
10+
// CHECK-LABEL: fn f(
11+
// CHECK: bb2: {
12+
// CHECK: _2 = copy _3;
13+
// CHECK: bb3: {
14+
// CHECK: _0 = copy _2;
1115
mir! {
1216
let a: bool;
1317
let b: bool;

0 commit comments

Comments
 (0)