llvm-for-llvmta/test/Transforms/BlockExtractor/invalid-block.ll

10 lines
185 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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
}