aboutsummaryrefslogtreecommitdiff
path: root/test/Headers/cxx11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Headers/cxx11.cpp')
-rw-r--r--test/Headers/cxx11.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Headers/cxx11.cpp b/test/Headers/cxx11.cpp
index 5b0ec0b79ccb..0b35a7c2bdfa 100644
--- a/test/Headers/cxx11.cpp
+++ b/test/Headers/cxx11.cpp
@@ -1,5 +1,6 @@
+// RUN: rm -rf %t
// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 %s
-// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules %s
+// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules -fmodules-cache-path=%t %s
// This test fails on systems with older OS X 10.9 SDK headers, see PR18322.