diff options
author | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-22 18:29:06 +0000 |
---|---|---|
committer | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-22 18:29:06 +0000 |
commit | baf524d2137f719f0465cf5e8dc8d5f5d8089fbf (patch) | |
tree | dba67a6100058383f4d49c18e69254978566a1a2 /test/CodeGen/const-init.c | |
parent | 11e6b0a0cc3664b1037c39a901bfc52e72161bf1 (diff) |
Use intptr_t from stdint.h (in freestanding mode) instead of redefining it here
with __INTPTR_TYPE__.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/const-init.c')
-rw-r--r-- | test/CodeGen/const-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index 06cdde9c95..5f196ca5a4 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -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" }; |