diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-01 16:28:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-01 16:28:20 +0000 |
commit | 993251ecd60a5321234b16aeaac8da10cbc8bd24 (patch) | |
tree | 63ec491d63ccdf399b28b431707584fb3fe72efc /test/Analysis | |
parent | 18f07a11b990d59e9ae2317136aa456da6ea6a20 (diff) | |
download | llvm-993251ecd60a5321234b16aeaac8da10cbc8bd24.tar.gz llvm-993251ecd60a5321234b16aeaac8da10cbc8bd24.tar.bz2 llvm-993251ecd60a5321234b16aeaac8da10cbc8bd24.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll b/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll new file mode 100644 index 0000000000..3f1893ba03 --- /dev/null +++ b/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll @@ -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 +} |