Use intptr_t from stdint.h (in freestanding mode) instead of redefining it here

with __INTPTR_TYPE__.

llvm-svn: 89609
This commit is contained in:
Ken Dyck
2009-11-22 18:29:06 +00:00
parent 8a3fdae0aa
commit 65da2db736

View File

@@ -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" };