[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Frontend / rewrite-includes-invalid-hasinclude.c
blob334519a4b02d0edf157198315cbddc8f2603d091
1 // RUN: not %clang_cc1 -E -frewrite-includes -DFIRST -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
3 #if __has_include bar.h
4 #endif
6 #if __has_include(bar.h)
7 #endif
9 #if __has_include(<bar.h)
10 #endif
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