Add a lint check for an indirectbr destination which has not
[oota-llvm.git] / test / Other / lint.ll
index fcef7ee2d57133779ee1f2134fc8265ed5bf6f2e..2163a42eb02496376642480f2668b2fd11702eeb 100644 (file)
@@ -102,6 +102,7 @@ define void @not_vararg(i8* %p) nounwind {
 }
 
 ; CHECK: Undefined behavior: Branch to non-blockaddress
+; CHECK: Unusual: indirectbr destination has not had its address taken
 define void @use_indbr() {
   indirectbr i8* bitcast (i32()* @foo to i8*), [label %block]
 block: