From 1ee821b0b93c6205f56733e0a19879fea36648ba Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 13 Feb 2009 17:42:52 +0000 Subject: [PATCH] ccc: Suffix for PCH files is appended, not replaced. (Test case) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64467 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/ccc/test/ccc/pth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ccc/test/ccc/pth.c b/tools/ccc/test/ccc/pth.c index 1a0dd50212..5cc68a484f 100644 --- a/tools/ccc/test/ccc/pth.c +++ b/tools/ccc/test/ccc/pth.c @@ -1,5 +1,5 @@ -// RUN: cp %s %t && -// RUN: xcc -x c-header %t -o %t.pth && -// RUN: xcc -### -S -include %t -x c /dev/null &> %t.log && -// RUN: grep '"-token-cache" ".*/pth.c.out.tmp.pth"' %t.log +// RUN: cp %s %t.h && +// RUN: xcc %t.h && +// RUN: xcc -### -S -include %t.h -x c /dev/null &> %t.log && +// RUN: grep '"-token-cache" ".*/pth.c.out.tmp.h.pth"' %t.log // RUN: true -- 2.40.0