xref: /llvm-project/llvm/test/CodeGen/MIR/Generic/machine-basic-block-redefinition-error.mir (revision 538859cca3518a981293cf773e490fcf29a153c2)
1# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
3--- |
4
5  define i32 @foo() {
6  entry:
7    ret i32 0
8  }
9
10...
11---
12name:            foo
13body: |
14  ; CHECK: [[@LINE+3]]:3: redefinition of machine basic block with id #0
15  bb.0:
16
17  bb.0:
18...
19