]> granicus.if.org Git - clang/commitdiff
Add test case for '-include-pth'.
authorTed Kremenek <kremenek@apple.com>
Fri, 20 Mar 2009 17:56:12 +0000 (17:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 20 Mar 2009 17:56:12 +0000 (17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67386 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/include-pth.c [new file with mode: 0644]

diff --git a/test/Preprocessor/include-pth.c b/test/Preprocessor/include-pth.c
new file mode 100644 (file)
index 0000000..d42550b
--- /dev/null
@@ -0,0 +1 @@
+// RUN: clang -x c-header file_to_include.h -o %t && clang -include-pth %t %s -E | grep 'file_to_include'