packed initializers too in the test
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 8 Dec 2006 18:45:38 +0000 (18:45 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 8 Dec 2006 18:45:38 +0000 (18:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32365 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/packed_struct.ll

index 97e4d5910fe0d8b92d8f6b146e86755223ae9c9b..8c620bb72490facc40f32c39f92c96a75e3548e0 100755 (executable)
@@ -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()