llvm-project/llvm/test/Transforms/BlockExtractor/invalid-block.ll

10 lines
185 B
LLVM

; RUN: echo 'bar invalidbb' > %t
; RUN: not --crash opt -S -extract-blocks -extract-blocks-file=%t %s 2>&1 | FileCheck %s
; CHECK: Invalid block
define void @bar() {
bb:
ret void
}