summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-13 17:42:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-13 17:42:52 +0000
commit72e90d7fb050f7acef1086bb76827589f01d109a (patch)
tree3a08f22eb9c2498d6e0b01a9a7b3c4e50a5d2f55 /clang
parentb903a072b138e87b8abde4a133098e13b2891615 (diff)
downloadbcm5719-llvm-72e90d7fb050f7acef1086bb76827589f01d109a.tar.gz
bcm5719-llvm-72e90d7fb050f7acef1086bb76827589f01d109a.zip
ccc: Suffix for PCH files is appended, not replaced. (Test case)
llvm-svn: 64467
Diffstat (limited to 'clang')
-rw-r--r--clang/tools/ccc/test/ccc/pth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/tools/ccc/test/ccc/pth.c b/clang/tools/ccc/test/ccc/pth.c
index 1a0dd502127..5cc68a484f2 100644
--- a/clang/tools/ccc/test/ccc/pth.c
+++ b/clang/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
OpenPOWER on IntegriCloud