2013-07-05 00:16:58 +08:00
|
|
|
// RUN: not %clang_cc1 -E -frewrite-includes -DFIRST -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
|
2013-04-17 03:08:41 +08:00
|
|
|
|
|
|
|
#if __has_include bar.h
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if __has_include(bar.h)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if __has_include(<bar.h)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// CHECK: #if __has_include bar.h
|
|
|
|
// CHECK: #endif
|
|
|
|
// CHECK: #if __has_include(bar.h)
|
|
|
|
// CHECK: #endif
|
|
|
|
// CHECK: #if __has_include(<bar.h)
|
|
|
|
// CHECK: #endif
|