summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/System/usr/include/stdlib.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-01-22 00:45:20 +0000
committerHans Wennborg <hans@hanshq.net>2015-01-22 00:45:20 +0000
commit9cf7122ff75017ce747a391931f18e54fd7935dc (patch)
treece8b7d9e24bf818446cabafd65202590088a8acb /clang/test/Modules/Inputs/System/usr/include/stdlib.h
parent03176d781f32d265cf3333af6abb22577c160f12 (diff)
downloadbcm5719-llvm-9cf7122ff75017ce747a391931f18e54fd7935dc.tar.gz
bcm5719-llvm-9cf7122ff75017ce747a391931f18e54fd7935dc.zip
Fix compiler_builtins.m test to not rely on including system stdlib.h and malloc.h
Importing _Builtin_intrinsics.sse and avx would transitively pull in those headers, and the test would fail when building in an environment where they were not available on the include path. This fixes PR20995 for me. Differential Revision: http://reviews.llvm.org/D7112 llvm-svn: 226754
Diffstat (limited to 'clang/test/Modules/Inputs/System/usr/include/stdlib.h')
-rw-r--r--clang/test/Modules/Inputs/System/usr/include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/System/usr/include/stdlib.h b/clang/test/Modules/Inputs/System/usr/include/stdlib.h
new file mode 100644
index 00000000000..a1bf1a8b294
--- /dev/null
+++ b/clang/test/Modules/Inputs/System/usr/include/stdlib.h
@@ -0,0 +1 @@
+typedef __SIZE_TYPE__ size_t;
OpenPOWER on IntegriCloud