From a0ca74fa5f54694350eb42864b4594ff5d8529f0 Mon Sep 17 00:00:00 2001 From: Ben Langmuir Date: Mon, 10 Mar 2014 23:17:14 +0000 Subject: [PATCH] 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 --- test/Headers/c11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.40.0