Fix a FIXME about the format and add a test.
[oota-llvm.git] / test / Transforms / Mem2Reg / 2003-04-10-DFNotFound.ll
index 05990b1b458e66ce2873e42efe81999e220c09cf..3665483458cce3bc6e164961f1ca65bff4ea3110 100644 (file)
@@ -1,11 +1,10 @@
-; RUN: llvm-as < %s | opt -mem2reg
+; RUN: opt < %s -mem2reg
 
-implementation   ; Functions:
-
-void %_Z3barv() {
-       %result = alloca int
+define void @_Z3barv() {
+       %result = alloca i32            ; <i32*> [#uses=1]
        ret void
-
-       store int 0, int* %result  ; DF not set!
+               ; No predecessors!
+       store i32 0, i32* %result
        ret void
 }
+