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

10 lines
181 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: echo 'foo bb' > %t
; RUN: not --crash opt -S -extract-blocks -extract-blocks-file=%t %s 2>&1 | FileCheck %s
; CHECK: Invalid function
define void @bar() {
bb:
ret void
}