aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-uselistorder_bb-missing-bb.ll
blob: bd12faa85b6b13d1bf0b9fded07379c616f35fc5 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: error: invalid basic block in uselistorder_bb
define void @foo() {
  unreachable
}
uselistorder_bb @foo, %bb, { 1, 0 }