aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/packed_struct.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/packed_struct.ll')
-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 97e4d59..8c620bb 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()