[cfe-commits] r149072 - /cfe/trunk/test/CodeGen/override-layout.c

Douglas Gregor dgregor at apple.com
Thu Jan 26 10:38:13 PST 2012


Author: dgregor
Date: Thu Jan 26 12:38:13 2012
New Revision: 149072

URL: http://llvm.org/viewvc/llvm-project?rev=149072&view=rev
Log:
Try harder to get X7 defined

Modified:
    cfe/trunk/test/CodeGen/override-layout.c

Modified: cfe/trunk/test/CodeGen/override-layout.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/override-layout.c?rev=149072&r1=149071&r2=149072&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/override-layout.c (original)
+++ cfe/trunk/test/CodeGen/override-layout.c Thu Jan 26 12:38:13 2012
@@ -136,6 +136,7 @@
   x6.b = sizeof(struct X6);
 
   struct X7 x7;
+  typedef int X7array[sizeof(struct X7)];
   x7.x = sizeof(struct X7);
   x7.y = x7.x;
 





More information about the cfe-commits mailing list