New testcase
authorChris Lattner <sabre@nondot.org>
Tue, 1 Jul 2003 16:28:20 +0000 (16:28 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Jul 2003 16:28:20 +0000 (16:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7032 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll [new file with mode: 0644]

diff --git a/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll b/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
new file mode 100644 (file)
index 0000000..3f1893b
--- /dev/null
@@ -0,0 +1,11 @@
+; RUN: analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
+
+%X = internal global { int, short, short } { int 1, short 2, short 3 }
+
+implementation
+
+
+void %test() {
+       store short 5, short* getelementptr ({ int, short, short }* %X, long 0, ubyte 1)
+       ret void
+}