summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-23 18:33:49 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-23 18:33:49 +0000
commitbe81aed4c74ae7a080e9763d13820df47d4c8589 (patch)
tree9727ad274b449e0fecf6efb7e8f24d4aa9641cff
parenteaa8dfd29ce8f65585390b55e9bfd3b0c8d1eedd (diff)
Merging r155342:
------------------------------------------------------------------------ r155342 | asl | 2012-04-23 02:02:13 -0700 (Mon, 23 Apr 2012) | 3 lines Do not use stdint.h, driver might provide invalid location for it. Instead, provide the types directly. This should fix PR12628 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@155376 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/arm-homogenous.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/arm-homogenous.c b/test/CodeGen/arm-homogenous.c
index 814fde5760..eb3d5a6bd6 100644
--- a/test/CodeGen/arm-homogenous.c
+++ b/test/CodeGen/arm-homogenous.c
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -triple armv7---eabi -target-abi aapcs -mfloat-abi hard -emit-llvm %s -o - | FileCheck %s
-#include <stdint.h>
+
+typedef long long int64_t;
+typedef unsigned int uint32_t;
/* This is not a homogenous aggregate - fundamental types are different */
typedef union {