[cfe-commits] r135935 - /cfe/trunk/test/Sema/align-arm-apcs-gnu.c

Chad Rosier mcrosier at apple.com
Mon Jul 25 12:17:48 PDT 2011


Author: mcrosier
Date: Mon Jul 25 14:17:48 2011
New Revision: 135935

URL: http://llvm.org/viewvc/llvm-project?rev=135935&view=rev
Log:
Fix r135934.  Rename was intended, but without additional tests for double.

Modified:
    cfe/trunk/test/Sema/align-arm-apcs-gnu.c

Modified: cfe/trunk/test/Sema/align-arm-apcs-gnu.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/align-arm-apcs-gnu.c?rev=135935&r1=135934&r2=135935&view=diff
==============================================================================
--- cfe/trunk/test/Sema/align-arm-apcs-gnu.c (original)
+++ cfe/trunk/test/Sema/align-arm-apcs-gnu.c Mon Jul 25 14:17:48 2011
@@ -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];





More information about the cfe-commits mailing list