#if __has_include("stdint.h")
#else
#error "__has_include failed (1)."
#endif
#if __has_include(<stdint.h>)
#else
#error "__has_include failed (2)."
#endif
#if !__has_include("stdint.h")
#error "__has_include failed (5)."
#endif
#if __has_include("stdint.h") && __has_include("stddef.h")
#else
#error "__has_include failed (6)."
#endif
#if __has_include("blahblah.h")
#error "__has_include failed (7)."
#endif
#if !defined(__has_include)
#error "defined(__has_include) failed (8)."
#endif
#if __has_include_next("stddef.h") // expected-warning {{#include_next in primary source file}}
#else
#error "__has_include failed (1)."
#endif
#if __has_include_next(<stddef.h>) // expected-warning {{#include_next in primary source file}}
#else
#error "__has_include failed (2)."
#endif
#if !__has_include_next("stdint.h") // expected-warning {{#include_next in primary source file}}
#error "__has_include_next failed (5)."
#endif
#if __has_include_next("stdint.h") && __has_include("stddef.h") // expected-warning {{#include_next in primary source file}}
#else
#error "__has_include_next failed (6)."
#endif
#if __has_include_next("blahblah.h") // expected-warning {{#include_next in primary source file}}
#error "__has_include_next failed (7)."
#endif
#if !defined(__has_include_next)
#error "defined(__has_include_next) failed (8)."
#endif
#if __has_include "stdint.h")
#endif
#if __has_include(stdint.h)
#endif
#if __has_include()
#endif
#if __has_include)
#endif
#if __has_include<stdint.h>)
#endif
#if __has_include("stdint.h)
#endif
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}} expected-warning@+1 {{missing terminating '"' character}} expected-error@+1 {{token is not a valid binary operator in a preprocessor subexpression}}
#if __has_include(stdint.h")
#endif
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}} expected-error@+1 {{token is not a valid binary operator in a preprocessor subexpression}}
#if __has_include(stdint.h>)
#endif
// FIXME: These test cases cause the compiler to crash. (PR13334)
//#if __has_include("stdint.h"
//#if __has_include(
//#if __has_include
//#if __has_include(<stdint.h>
//#if __has_include(<stdint.h)