From 101390e116f59816f7dba4cb1d445b156a6c42b7 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. llvm-svn: 203511 --- clang/test/Headers/c11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/test/Headers/c11.c b/clang/test/Headers/c11.c index 2debcae3949c..c1454c855a63 100644 --- a/clang/test/Headers/c11.c +++ b/clang/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