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