Debug Info: update testing cases to specify the debug info version number.
[oota-llvm.git] / test / Analysis / BasicAA / 2007-10-24-ArgumentsGlobals.ll
index 78f24b5e305df9add0cc62e35a89d4d7bbca4ae2..429160ef6d5e20c3f21633e5311a88f37fff897c 100644 (file)
@@ -1,10 +1,12 @@
-; RUN: opt < %s -basicaa -gvn -dce -S | grep tmp7
+; RUN: opt < %s -basicaa -gvn -dce -S | FileCheck %s
 
         %struct.A = type { i32 }
         %struct.B = type { %struct.A }
 @a = global %struct.B zeroinitializer           ; <%struct.B*> [#uses=2]
 
 define i32 @_Z3fooP1A(%struct.A* %b) {
+; CHECK: %tmp7 = load
+; CHECK: ret i32 %tmp7
 entry:
         store i32 1, i32* getelementptr (%struct.B* @a, i32 0, i32 0, i32 0), align 8
         %tmp4 = getelementptr %struct.A* %b, i32 0, i32 0               ;<i32*> [#uses=1]