New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5770 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll b/test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll
new file mode 100644
index 0000000..286252a
--- /dev/null
+++ b/test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll
@@ -0,0 +1,11 @@
+; RUN: as < %s | opt -mem2reg
+
+implementation ; Functions:
+
+void %_Z3barv() {
+ %result = alloca int
+ ret void
+
+ store int 0, int* %result ; DF not set!
+ ret void
+}