; Scalar replacement was incorrectly promoting this alloca!!
;
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
-; RUN: sed {s/;.*//g} | grep \[
+; RUN: opt < %s -scalarrepl -S | \
+; RUN: sed {s/;.*//g} | grep {\\\[}
define i8* @test() {
%A = alloca [30 x i8] ; <[30 x i8]*> [#uses=1]