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

--- |

  define i32 @foo() {
  entry:
    ret i32 0
  }

...
---
name:            foo
body: |
  ; CHECK: [[@LINE+3]]:3: redefinition of machine basic block with id #0
  bb.0:

  bb.0:
...
OpenPOWER on IntegriCloud