summaryrefslogtreecommitdiff
path: root/test/Driver/preprocessor.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/preprocessor.c')
-rw-r--r--test/Driver/preprocessor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/preprocessor.c b/test/Driver/preprocessor.c
new file mode 100644
index 000000000000..ec1f42f5bafd
--- /dev/null
+++ b/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
+