Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / extractvalue-invalid-idx.ll
1 ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2 ; PR4170
3
4 ; CHECK: invalid indices for extractvalue
5
6 define void @test() {
7 entry:
8         extractvalue [0 x i32] undef, 0
9         ret void
10 }