summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/include-pth.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/include-pth.c')
-rw-r--r--clang/test/Preprocessor/include-pth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/include-pth.c b/clang/test/Preprocessor/include-pth.c
new file mode 100644
index 0000000..e1d6685
--- /dev/null
+++ b/clang/test/Preprocessor/include-pth.c
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -emit-pth %s -o %t
+// RUN: %clang_cc1 -include-pth %t %s -E | grep 'file_to_include' | count 2
+#include "file_to_include.h"