]> granicus.if.org Git - clang/commitdiff
Fix r135934. Rename was intended, but without additional tests for double.
authorChad Rosier <mcrosier@apple.com>
Mon, 25 Jul 2011 19:17:48 +0000 (19:17 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 25 Jul 2011 19:17:48 +0000 (19:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135935 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/align-arm-apcs-gnu.c

index 6628b0c83042e6164e3fb5d8908c0c5b1ae5a9a2..a1a0f0e013cc93fe5dcfd44a22cc9694c0b201cc 100644 (file)
@@ -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];