]> granicus.if.org Git - clang/commitdiff
ccc: Suffix for PCH files is appended, not replaced. (Test case)
authorDaniel Dunbar <daniel@zuster.org>
Fri, 13 Feb 2009 17:42:52 +0000 (17:42 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 13 Feb 2009 17:42:52 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64467 91177308-0d34-0410-b5e6-96231b3b80d8

tools/ccc/test/ccc/pth.c

index 1a0dd50212749f83897fa59f1de908b8d969d6e4..5cc68a484f281ba91fcdad702152b827dd378c87 100644 (file)
@@ -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