From: Chad Rosier Date: Mon, 25 Jul 2011 19:17:48 +0000 (+0000) Subject: Fix r135934. Rename was intended, but without additional tests for double. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1467dbfd5d1068c2dd69511f16bc218475a9396;p=clang 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 --- 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];