[cfe-commits] r64467 - /cfe/trunk/tools/ccc/test/ccc/pth.c

Daniel Dunbar daniel at zuster.org
Fri Feb 13 09:42:52 PST 2009


Author: ddunbar
Date: Fri Feb 13 11:42:52 2009
New Revision: 64467

URL: http://llvm.org/viewvc/llvm-project?rev=64467&view=rev
Log:
ccc: Suffix for PCH files is appended, not replaced. (Test case)

Modified:
    cfe/trunk/tools/ccc/test/ccc/pth.c

Modified: cfe/trunk/tools/ccc/test/ccc/pth.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/test/ccc/pth.c?rev=64467&r1=64466&r2=64467&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/test/ccc/pth.c (original)
+++ cfe/trunk/tools/ccc/test/ccc/pth.c Fri Feb 13 11:42:52 2009
@@ -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





More information about the cfe-commits mailing list