aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Feature/alignment.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Feature/alignment.ll b/test/Feature/alignment.ll
index 0a63675bd0..6ea7d8d7ff 100644
--- a/test/Feature/alignment.ll
+++ b/test/Feature/alignment.ll
@@ -2,7 +2,9 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-int *%test() {
+%X = global int 4, align 16
+
+int *%test() align 32 {
%X = alloca int, align 4
%Y = alloca int, uint 42, align 16
%Z = alloca int, align 0