Add FileCheck to non_dominate.rs
This commit is contained in:
parent
6eaf4fedcf
commit
aa83f1799b
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
|||
// skip-filecheck
|
||||
//@ test-mir-pass: CopyProp
|
||||
|
||||
#![feature(custom_mir, core_intrinsics)]
|
||||
|
|
@ -8,6 +7,11 @@ use core::intrinsics::mir::*;
|
|||
|
||||
#[custom_mir(dialect = "analysis", phase = "post-cleanup")]
|
||||
fn f(c: bool) -> bool {
|
||||
// CHECK-LABEL: fn f(
|
||||
// CHECK: bb2: {
|
||||
// CHECK: _2 = copy _3;
|
||||
// CHECK: bb3: {
|
||||
// CHECK: _0 = copy _2;
|
||||
mir! {
|
||||
let a: bool;
|
||||
let b: bool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue