MC/Mach-O/ARM: Add enough relocation logic to get BR24 relocations.
[oota-llvm.git] / test / Other / lint.ll
index dee3d11d2fb5e0543313d493af385d0cd3eb54ba..4aa984e2e1b7b59df6278cd8472bcf656b082bcb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -lint -disable-output < %s |& FileCheck %s
+; RUN: opt -basicaa -lint -disable-output < %s |& FileCheck %s
 target datalayout = "e-p:64:64:64"
 
 declare fastcc void @bar()
@@ -161,5 +161,7 @@ declare i32 @nonstruct_callee() nounwind
 define void @struct_caller() nounwind {
 entry:
   call %struct bitcast (i32 ()* @foo to %struct ()*)()
-  ret void
+
+  ; CHECK: Undefined behavior: indirectbr with no destinations
+  indirectbr i8* null, []
 }