summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-29 22:35:57 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-29 22:35:57 +0000
commitb9f9aea13c69cd62953ff7abc92a04e62ba1b494 (patch)
tree02c320cca5a126842a9cf3e2106208a764db7654 /clang/test/Modules
parentfc5aae33b72064d680b57a97907f098775e8f351 (diff)
downloadbcm5719-llvm-b9f9aea13c69cd62953ff7abc92a04e62ba1b494.tar.gz
bcm5719-llvm-b9f9aea13c69cd62953ff7abc92a04e62ba1b494.zip
If there's no math.h, then tgmath.h should just be empty
llvm-svn: 149209
Diffstat (limited to 'clang/test/Modules')
-rw-r--r--clang/test/Modules/compiler_builtins.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m
index 254494a2423..3cf24142d33 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_cc1 -fmodules -fmodule-cache-path %t %s
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -verify %s
@import __compiler_builtins.float_constants;
@@ -9,5 +9,4 @@ float getFltMax() { return FLT_MAX; }
char getCharMax() { return CHAR_MAX; }
-// FIXME: Re-enable this test.
-//size_t size; // expected-error{{unknown type name 'size_t'}}
+size_t size; // expected-error{{unknown type name 'size_t'}}
OpenPOWER on IntegriCloud