aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-03-21 20:20:47 +0000
committerChad Rosier <mcrosier@apple.com>2012-03-21 20:20:47 +0000
commitcde7a1dc68af2eb063a039b5a31c3b7dd92b1aa9 (patch)
treecce951c700ed8e44fb12c48be11bf68671621ad4 /test
parent1e0c95238c9ece71865f4a74056f52ec42ba2705 (diff)
Report the natural alignment of unsigned long long, not the preferred alignment.
rdar://11054144 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Sema/align-x86.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/align-x86.c b/test/Sema/align-x86.c
index 61bd1d33c9..c6cd7543c2 100644
--- a/test/Sema/align-x86.c
+++ b/test/Sema/align-x86.c
@@ -9,6 +9,10 @@ long long g2;
short chk1[__alignof__(g2) == 8 ? 1 : -1];
short chk2[__alignof__(long long) == 8 ? 1 : -1];
+unsigned long long g5;
+short chk1[__alignof__(g5) == 8 ? 1 : -1];
+short chk2[__alignof__(unsigned long long) == 8 ? 1 : -1];
+
_Complex double g3;
short chk1[__alignof__(g3) == 8 ? 1 : -1];
short chk2[__alignof__(_Complex double) == 8 ? 1 : -1];