summaryrefslogtreecommitdiffstats
path: root/test/Headers
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-04-16 00:46:26 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-04-16 00:46:26 +0000
commit89a1e712a92ec5a3f46ff93f70698b51637d968d (patch)
treedc778580f6e9067604522187ddb4a7943fc281a5 /test/Headers
parent9e96c96fe1eed6b633baa661d09c6a09977d1e35 (diff)
[modules] Don't expose *intrin.h headers that cannot be included standalone as
separate modules. These cause build breakage with -fmodules-local-submodule-visibility. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r--test/Headers/cxx11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Headers/cxx11.cpp b/test/Headers/cxx11.cpp
index 0b35a7c2bd..324bd99585 100644
--- a/test/Headers/cxx11.cpp
+++ b/test/Headers/cxx11.cpp
@@ -1,6 +1,7 @@
// RUN: rm -rf %t
// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 %s
// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules -fmodules-cache-path=%t %s
+// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules -fmodules-cache-path=%t -fmodules-local-submodule-visibility %s
// This test fails on systems with older OS X 10.9 SDK headers, see PR18322.