[cfe-commits] r63985 - /cfe/trunk/test/Sema/init.c

Sebastian Redl sebastian.redl at getdesigned.at
Fri Feb 6 16:23:53 PST 2009


Author: cornedbee
Date: Fri Feb  6 18:23:52 2009
New Revision: 63985

URL: http://llvm.org/viewvc/llvm-project?rev=63985&view=rev
Log:
Use our new snazzy stdint.h to make a testcase 64-bit portable.

Modified:
    cfe/trunk/test/Sema/init.c

Modified: cfe/trunk/test/Sema/init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/init.c?rev=63985&r1=63984&r2=63985&view=diff

==============================================================================
--- cfe/trunk/test/Sema/init.c (original)
+++ cfe/trunk/test/Sema/init.c Fri Feb  6 18:23:52 2009
@@ -1,5 +1,7 @@
 // RUN: clang %s -verify -fsyntax-only
 
+#include <stdint.h>
+
 typedef void (* fp)(void);
 void foo(void);
 
@@ -104,5 +106,5 @@
 };
 
 struct foo2 bar2[] = {
-   { (int)bbb }
+   { (intptr_t)bbb }
 };





More information about the cfe-commits mailing list