summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/Generic/machine-basic-block-undefined-ir-block.mir
blob: ac9a12b3e44dc3f293e92a1d863a7ecef0e71025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s

--- |

  define i32 @foo() {
    ret i32 0
  }

...
---
name:            foo
body: |
  ; CHECK: [[@LINE+1]]:9: use of undefined IR block '%ir-block.10'
  bb.0 (%ir-block.10):
...
OpenPOWER on IntegriCloud