aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-07-25 19:17:48 +0000
committerChad Rosier <mcrosier@apple.com>2011-07-25 19:17:48 +0000
commite1467dbfd5d1068c2dd69511f16bc218475a9396 (patch)
treec74768825a03d919d139685231fdc1c14ff6c67c
parent33abf4ed29594fa6af530def2a93a2bb69ab8863 (diff)
Fix r135934. Rename was intended, but without additional tests for double.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135935 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/align-arm-apcs-gnu.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/test/Sema/align-arm-apcs-gnu.c b/test/Sema/align-arm-apcs-gnu.c
index 6628b0c830..a1a0f0e013 100644
--- a/test/Sema/align-arm-apcs-gnu.c
+++ b/test/Sema/align-arm-apcs-gnu.c
@@ -1,16 +1,4 @@
// RUN: %clang_cc1 -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s
struct s0 { double f0; int f1; };
-char chk0[__alignof__(struct s0) == 4 ? 1 : -1];
-
-double g1;
-short chk1[__alignof__(g1) == 4 ? 1 : -1];
-short chk2[__alignof__(double) == 4 ? 1 : -1];
-
-long long g2;
-short chk1[__alignof__(g2) == 4 ? 1 : -1];
-short chk2[__alignof__(long long) == 4 ? 1 : -1];
-
-_Complex double g3;
-short chk1[__alignof__(g3) == 4 ? 1 : -1];
-short chk2[__alignof__(_Complex double) == 4 ? 1 : -1];
+char chk0[__alignof__(struct s0) == 4 ? 1 : -1];