; This input caused the mem2reg pass to die because it was trying to promote; the %r alloca, even though it is invalid to do so in this case!;; RUN: llvm-as < %s | opt -mem2regimplementationvoid"test"()begin%r=allocaint; <int*> [#uses=2]storeint4,int*%rstoreint*%r,int**nullretvoidend