Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / invalid-landingpad.ll
1 ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3 ; CHECK: clause argument must be a constant
4
5 define void @test(i32 %in) personality void()* null {
6   landingpad {} filter i32 %in
7 }