summaryrefslogtreecommitdiff
path: root/clang/test/Frontend/macros.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/macros.c')
-rw-r--r--clang/test/Frontend/macros.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Frontend/macros.c b/clang/test/Frontend/macros.c
new file mode 100644
index 0000000..3170797
--- /dev/null
+++ b/clang/test/Frontend/macros.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -DA= -DB=1 -verify -fsyntax-only %s
+
+int a[(B A) == 1 ? 1 : -1];
+