summaryrefslogtreecommitdiff
path: root/clang/test/Driver/preprocessor.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/preprocessor.c')
-rw-r--r--clang/test/Driver/preprocessor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/preprocessor.c b/clang/test/Driver/preprocessor.c
new file mode 100644
index 0000000..09c1f6c
--- /dev/null
+++ b/clang/test/Driver/preprocessor.c
@@ -0,0 +1,6 @@
+// RUN: %clang -E -x c-header %s > %t
+// RUN: grep 'B B' %t
+
+#define A B
+A A
+