[cfe-commits] r89609 - /cfe/trunk/test/CodeGen/const-init.c
Ken Dyck
ken.dyck at onsemi.com
Sun Nov 22 10:29:06 PST 2009
Author: kjdyck
Date: Sun Nov 22 12:29:06 2009
New Revision: 89609
URL: http://llvm.org/viewvc/llvm-project?rev=89609&view=rev
Log:
Use intptr_t from stdint.h (in freestanding mode) instead of redefining it here
with __INTPTR_TYPE__.
Modified:
cfe/trunk/test/CodeGen/const-init.c
Modified: cfe/trunk/test/CodeGen/const-init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/const-init.c?rev=89609&r1=89608&r2=89609&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/const-init.c (original)
+++ cfe/trunk/test/CodeGen/const-init.c Sun Nov 22 12:29:06 2009
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -verify -emit-llvm -o - %s | FileCheck %s
+// RUN: clang-cc -triple i386-pc-linux-gnu -ffreestanding -verify -emit-llvm -o - %s | FileCheck %s
-typedef __INTPTR_TYPE__ intptr_t;
+#include <stdint.h>
// Brace-enclosed string array initializers
char a[] = { "asdf" };
More information about the cfe-commits
mailing list