aboutsummaryrefslogtreecommitdiff
path: root/test/Headers/c11.c
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-03-10 23:17:14 +0000
committerBen Langmuir <blangmuir@apple.com>2014-03-10 23:17:14 +0000
commita0ca74fa5f54694350eb42864b4594ff5d8529f0 (patch)
tree73991b1cb4d71683aa8a2721fd4ed4b9e36ee20f /test/Headers/c11.c
parentd4811afb06485511c983c6cab02caa767ce66041 (diff)
Add -fmodules-cache-path to test/Headers/c11.c
This started failing for me the last time someone modified the AST file format. It would be nice if we could just have lit take care of the module cache used during testing for us, but this helps in the meantime. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers/c11.c')
-rw-r--r--test/Headers/c11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Headers/c11.c b/test/Headers/c11.c
index 2debcae394..c1454c855a 100644
--- a/test/Headers/c11.c
+++ b/test/Headers/c11.c
@@ -1,5 +1,6 @@
+// RUN: rm -rf %t
// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 %s
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -fmodules %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -fmodules -fmodules-cache-path=%t %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -ffreestanding %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -triple i686-pc-win32 -fmsc-version=1700 %s