summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/compiler_builtins.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-29 23:40:50 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-29 23:40:50 +0000
commite8f900bdccb67a8c041ae8d68b40f3a18f9de271 (patch)
tree8c0881c770985263223fbad6a77237983d6d1a11 /clang/test/Modules/compiler_builtins.m
parent8277797e3dbaab79b3835cff8236e602e5229a3b (diff)
downloadbcm5719-llvm-e8f900bdccb67a8c041ae8d68b40f3a18f9de271.tar.gz
bcm5719-llvm-e8f900bdccb67a8c041ae8d68b40f3a18f9de271.zip
Teach tgmath.h to only include <complex.h> if it's available.
llvm-svn: 149213
Diffstat (limited to 'clang/test/Modules/compiler_builtins.m')
-rw-r--r--clang/test/Modules/compiler_builtins.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m
index 5874722c6b8..3545604414a 100644
--- a/clang/test/Modules/compiler_builtins.m
+++ b/clang/test/Modules/compiler_builtins.m
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t %s
+// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t %s -Xclang -verify
@import __compiler_builtins.float_constants;
@@ -9,4 +9,4 @@ float getFltMax() { return FLT_MAX; }
char getCharMax() { return CHAR_MAX; }
-//size_t size; // expected-error{{unknown type name 'size_t'}}
+size_t size; // expected-error{{unknown type name 'size_t'}}
OpenPOWER on IntegriCloud