Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / invalid-uselistorder_bb-missing-bb.ll
1 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2 ; CHECK: error: invalid basic block in uselistorder_bb
3 define void @foo() {
4   unreachable
5 }
6 uselistorder_bb @foo, %bb, { 1, 0 }