diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2012-04-23 09:02:13 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2012-04-23 09:02:13 +0000 |
commit | a8063c33d8d8e38e864a712b1bff6d67584558f6 (patch) | |
tree | 2b957fa94c9e44066deaa3ae00bc87e5ba01bfde /test/CodeGen | |
parent | 295413422d0c8d70e8861b71f7b622871ba1ba44 (diff) |
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/trunk@155342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/arm-homogenous.c | 4 |
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 { |