summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-12-08 18:45:38 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-12-08 18:45:38 +0000
commitae5733ba6a09c6a5dd3e5ce8317204eb72a44d12 (patch)
tree0a376f0dde0f8a8b0226e4e3bbf8f616c486aaa2 /llvm
parent87f438216325d5ae9be2e3436ce785bf282677ca (diff)
downloadbcm5719-llvm-ae5733ba6a09c6a5dd3e5ce8317204eb72a44d12.tar.gz
bcm5719-llvm-ae5733ba6a09c6a5dd3e5ce8317204eb72a44d12.zip
packed initializers too in the test
llvm-svn: 32365
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/test/Feature/packed_struct.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Feature/packed_struct.ll b/llvm/test/Feature/packed_struct.ll
index 97e4d5910fe..8c620bb7249 100755
--- a/llvm/test/Feature/packed_struct.ll
+++ b/llvm/test/Feature/packed_struct.ll
@@ -8,6 +8,10 @@
%foos = external global %struct.anon
%bara = external global [2 x <{ int, sbyte }>]
+;initializers should work for packed and non-packed the same way
+%E1 = global <{sbyte, int, int}> {sbyte 1, int 2, int 3}
+%E2 = global {sbyte, int, int} {sbyte 4, int 5, int 6}
+
implementation ; Functions:
int %main()
OpenPOWER on IntegriCloud