aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/has_include.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/has_include.c')
-rw-r--r--test/Preprocessor/has_include.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Preprocessor/has_include.c b/test/Preprocessor/has_include.c
index 7cc67fac03..131e51919f 100644
--- a/test/Preprocessor/has_include.c
+++ b/test/Preprocessor/has_include.c
@@ -176,3 +176,12 @@ __has_include
#else
#error "__has_include failed (9)."
#endif
+
+#if FOO
+#elif __has_include(<foo>)
+#endif
+
+// PR15539
+#ifdef FOO
+#elif __has_include(<foo>)
+#endif