summaryrefslogtreecommitdiff
path: root/clang/test/Driver/cpp-precomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/cpp-precomp.c')
-rw-r--r--clang/test/Driver/cpp-precomp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/cpp-precomp.c b/clang/test/Driver/cpp-precomp.c
new file mode 100644
index 0000000..a384a35
--- /dev/null
+++ b/clang/test/Driver/cpp-precomp.c
@@ -0,0 +1,5 @@
+// RUN: %clang -target x86_64-apple-darwin10 \
+// RUN: -Werror -cpp-precomp -fsyntax-only %s
+
+// RUN: %clang -target x86_64-apple-darwin10 \
+// RUN: -Werror -no-cpp-precomp -fsyntax-only %s