[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Frontend / dashE-sysincludes.cpp
blob45c70670588f1993492cf9f4b64358c81289dc76
1 // RUN: mkdir -p %t.dir
2 // RUN: %clang_cc1 -E -fkeep-system-includes -I %S/Inputs/dashE -isystem %S/Inputs/dashE/sys %s | FileCheck %s
4 int main_1 = 1;
5 #include <a.h>
6 int main_2 = 1;
7 #include "dashE.h"
8 int main_3 = 1;
10 // CHECK: main_1
11 // CHECK: #include <a.h>
12 // CHECK-NOT: a_1
13 // CHECK-NOT: a_2
14 // CHECK-NOT: b.h
15 // CHECK: main_2
16 // CHECK-NOT: #include "dashE.h"
17 // CHECK: dashE_1
18 // CHECK: #include <a.h>
19 // CHECK-NOT: a_1
20 // CHECK-NOT: a_2
21 // CHECK-NOT: b.h
22 // CHECK: dashE_2
23 // CHECK: main_3