summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/compiler_builtins.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-11-05 20:11:10 +0000
committerDouglas Gregor <dgregor@apple.com>2012-11-05 20:11:10 +0000
commit4c69859b562871fe95c5216a029c46b79acf44b0 (patch)
tree1b5cffac0b98087ff32e756da5d26184c2e1d40f /clang/test/Modules/compiler_builtins.m
parent7fd0849bc3a931f645c352add2bbff91e04ba8b9 (diff)
downloadbcm5719-llvm-4c69859b562871fe95c5216a029c46b79acf44b0.tar.gz
bcm5719-llvm-4c69859b562871fe95c5216a029c46b79acf44b0.zip
Make cpuid.h actually work with -std=c99 <rdar://problem/12552716>.
While we're here, extend the module map to cover most of the newly-added instrinsic headers. Only wmmintrin.h is missing, because it needs to be split into AES/PCLMUL subheaders (as a separate commit). llvm-svn: 167398
Diffstat (limited to 'clang/test/Modules/compiler_builtins.m')
-rw-r--r--clang/test/Modules/compiler_builtins.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m
index d974dae52e0..dfa46c8a34f 100644
--- a/clang/test/Modules/compiler_builtins.m
+++ b/clang/test/Modules/compiler_builtins.m
@@ -1,5 +1,6 @@
// RUN: rm -rf %t
// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify
+// RUN: %clang -fsyntax-only -std=c99 -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify
// expected-no-diagnostics
#ifdef __SSE__
OpenPOWER on IntegriCloud