]> granicus.if.org Git - clang/commitdiff
Add a module cache path to test/Headers/cxx11
authorBen Langmuir <blangmuir@apple.com>
Tue, 12 Aug 2014 16:42:25 +0000 (16:42 +0000)
committerBen Langmuir <blangmuir@apple.com>
Tue, 12 Aug 2014 16:42:25 +0000 (16:42 +0000)
Don't depend on the serialization format remaining the same.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215454 91177308-0d34-0410-b5e6-96231b3b80d8

test/Headers/cxx11.cpp

index 5b0ec0b79ccb06ebdfb44e6181a208b09473a987..0b35a7c2bdfa19c5670a45be54e664f8c33abd53 100644 (file)
@@ -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.