llvm-project/llvm/test/CodeGen/MIR/Generic/machine-basic-block-redefin...

19 lines
293 B
YAML

# RUN: not llc -start-after branch-folder -stop-after branch-folder -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:
...