diff options
Diffstat (limited to 'clang/test/Preprocessor/has_include.c')
-rw-r--r-- | clang/test/Preprocessor/has_include.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/has_include.c b/clang/test/Preprocessor/has_include.c index 7cc67fac031..131e51919f7 100644 --- a/clang/test/Preprocessor/has_include.c +++ b/clang/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 |