llvm/llvm/test/CodeGen/MIR/Generic/machine-basic-block-redefinition-error.mir

# 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:
...