aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_fn.c')
-rw-r--r--test/Preprocessor/macro_fn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_fn.c b/test/Preprocessor/macro_fn.c
index 98ebaeea72..5c55c0ceed 100644
--- a/test/Preprocessor/macro_fn.c
+++ b/test/Preprocessor/macro_fn.c
@@ -38,3 +38,9 @@ e()
zero_dot()
one_dot(x) /* empty ... argument: expected-warning {{varargs argument missing, but tolerated as an extension}} */
one_dot() /* empty first argument, elided ...: expected-warning {{varargs argument missing, but tolerated as an extension}} */
+
+
+/* rdar://6816766 - Crash with function-like macro test at end of directive. */
+#define E() (i == 0)
+#if E
+#endif