[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / getSourceDescriptor-crash.cpp
blob103e8ca23912d453f0a541f49a67e898581e2b2a
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -I %S/Inputs/getSourceDescriptor-crash -emit-llvm -debug-info-kind=limited -debugger-tuning=lldb -fmodules -fmodules-cache-path=%t -fimplicit-module-maps %s -o - | FileCheck %s
4 #include "h1.h"
5 #include "h1.h"
7 // CHECK: DIImportedEntity
8 // CHECK-SAME: entity: ![[ENTITY:[0-9]+]]
9 // CHECK: ![[ENTITY]] = !DIModule
10 // CHECK-SAME: name: "foo"