summaryrefslogtreecommitdiff
path: root/test/Feature
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
commit6ec10ef00ca908e53ee22df013a8c1a5c5d90db9 (patch)
tree47b1c39b0a3475cad14408b1e11f13089c3316d8 /test/Feature
parenta43f3d4c96ef2e2e2e3639ed673b6cf8879044ca (diff)
downloadllvm-6ec10ef00ca908e53ee22df013a8c1a5c5d90db9.tar.gz
llvm-6ec10ef00ca908e53ee22df013a8c1a5c5d90db9.tar.bz2
llvm-6ec10ef00ca908e53ee22df013a8c1a5c5d90db9.tar.xz
packed initializers too in the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rwxr-xr-xtest/Feature/packed_struct.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Feature/packed_struct.ll b/test/Feature/packed_struct.ll
index 97e4d5910f..8c620bb724 100755
--- a/test/Feature/packed_struct.ll
+++ b/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()