]> granicus.if.org Git - clang/commitdiff
Do not use stdint.h, driver might provide invalid location for it. Instead, provide...
authorAnton Korobeynikov <asl@math.spbu.ru>
Mon, 23 Apr 2012 09:02:13 +0000 (09:02 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Mon, 23 Apr 2012 09:02:13 +0000 (09:02 +0000)
This should fix PR12628

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155342 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/arm-homogenous.c

index 814fde5760b29abff4f9ca06f9c02c6e985c0731..eb3d5a6bd6311e1b716189bdb193776a666a7a67 100644 (file)
@@ -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 {