fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git] / test / Transforms / Mem2Reg / 2003-04-10-DFNotFound.ll
blob3665483458cce3bc6e164961f1ca65bff4ea3110
1 ; RUN: opt < %s -mem2reg
3 define void @_Z3barv() {
4         %result = alloca i32            ; <i32*> [#uses=1]
5         ret void
6                 ; No predecessors!
7         store i32 0, i32* %result
8         ret void