From 501525eed454bc815b4ab5bfd7fb7d58609a026e Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 13 Feb 2009 00:49:50 +0000 Subject: [PATCH] ccc: Test case for transparent PTH support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64420 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/ccc/test/ccc/pth.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/ccc/test/ccc/pth.c 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 -- 2.40.0