New testcase

llvm-svn: 6427
This commit is contained in:
Chris Lattner 2003-05-30 05:26:08 +00:00
parent 0d415b2dd3
commit 43ab06fba5

View File

@ -0,0 +1,9 @@
; RUN: as < %s | opt -scalarrepl
int %test() {
%X = alloca { [ 4 x int] }
%Y = getelementptr { [ 4 x int] }* %X, long 0, ubyte 0, long 2
store int 4, int* %Y
%Z = load int* %Y
ret int %Z
}