xref: /aosp_15_r20/external/clang/test/Frontend/rewrite-includes-invalid-hasinclude.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: not %clang_cc1 -E -frewrite-includes -DFIRST -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
2 
3 #if __has_include bar.h
4 #endif
5 
6 #if __has_include(bar.h)
7 #endif
8 
9 #if __has_include(<bar.h)
10 #endif
11 
12 // CHECK: #if __has_include bar.h
13 // CHECK: #endif
14 // CHECK: #if __has_include(bar.h)
15 // CHECK: #endif
16 // CHECK: #if __has_include(<bar.h)
17 // CHECK: #endif
18