[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Frontend / include-duplicate-removal.c
blobfb02cd7e48c3a6028b2cd99423736c354afd56a5
1 // RUN: %clang_cc1 -v -I%S/Inputs -iquote %S/Inputs/SystemHeaderPrefix -isystem %S/Inputs/SystemHeaderPrefix -isystem %S/Inputs/SystemHeaderPrefix %s 2>&1 | FileCheck %s
3 #include <test.h>
5 // CHECK: ignoring duplicate directory
6 // CHECK-SAME: Inputs/SystemHeaderPrefix"{{$}}
8 // CHECK: #include "..."
9 // CHECK-NEXT: {{.*}}Inputs/SystemHeaderPrefix{{$}}
10 // CHECK-NEXT: #include <...>
11 // CHECK-NEXT: {{.*}}Inputs{{$}}
12 // CHECK-NEXT: {{.*}}Inputs/SystemHeaderPrefix{{$}}