aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll')
-rw-r--r--test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll
new file mode 100644
index 0000000..b147ec9
--- /dev/null
+++ b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll
@@ -0,0 +1,8 @@
+; RUN: opt < %s -scalarrepl
+
+define void @main() {
+ %E = alloca { { i32, float, double, i64 }, { i32, float, double, i64 } } ; <{ { i32, float, double, i64 }, { i32, float, double, i64 } }*> [#uses=1]
+ %tmp.151 = getelementptr { { i32, float, double, i64 }, { i32, float, double, i64 } }* %E, i64 0, i32 1, i32 3 ; <i64*> [#uses=0]
+ ret void
+}
+