[cfe-commits] r64420 - /cfe/trunk/tools/ccc/test/ccc/pth.c
Daniel Dunbar
daniel at zuster.org
Thu Feb 12 16:49:50 PST 2009
Author: ddunbar
Date: Thu Feb 12 18:49:50 2009
New Revision: 64420
URL: http://llvm.org/viewvc/llvm-project?rev=64420&view=rev
Log:
ccc: Test case for transparent PTH support.
Added:
cfe/trunk/tools/ccc/test/ccc/pth.c
Added: cfe/trunk/tools/ccc/test/ccc/pth.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/test/ccc/pth.c?rev=64420&view=auto
==============================================================================
--- cfe/trunk/tools/ccc/test/ccc/pth.c (added)
+++ cfe/trunk/tools/ccc/test/ccc/pth.c Thu Feb 12 18:49:50 2009
@@ -0,0 +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: true
More information about the cfe-commits
mailing list