From: Daniel Dunbar Date: Fri, 13 Feb 2009 00:49:50 +0000 (+0000) Subject: ccc: Test case for transparent PTH support. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=501525eed454bc815b4ab5bfd7fb7d58609a026e;p=clang ccc: Test case for transparent PTH support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64420 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/ccc/test/ccc/pth.c b/tools/ccc/test/ccc/pth.c new file mode 100644 index 0000000000..1a0dd50212 --- /dev/null +++ b/tools/ccc/test/ccc/pth.c @@ -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