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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits