Old testcase
authorChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 02:13:02 +0000 (02:13 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 02:13:02 +0000 (02:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6521 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll [new file with mode: 0644]

diff --git a/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll
new file mode 100644 (file)
index 0000000..42f6f8b
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: as < %s | opt -scalarrepl
+
+void %main() {
+       %E = alloca { { int, float, double, long }, { int, float, double, long } }              ; <{ { int, float, double, long }, { int, float, double, long } }*> [#uses=1]
+       %tmp.151 = getelementptr { { int, float, double, long }, { int, float, double, long } }* %E, long 0, ubyte 1, ubyte 3           ; <long*> [#uses=0]
+       ret void
+}