[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / gmodules-deduction-guide.cpp
blobeab7db653ee5589a7c7b0870e3368522514d8426
1 // REQUIRES: asserts
3 // RUN: %clang_cc1 -std=c++23 -x c++-header -emit-pch -fmodule-format=obj -I %S/Inputs \
4 // RUN: -o %t.pch %S/Inputs/gmodules-deduction-guide.h \
5 // RUN: -mllvm -debug-only=pchcontainer &>%t-pch.ll
6 // RUN: cat %t-pch.ll | FileCheck %s
8 // CHECK: ![[V0:.*]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "S<A>",
9 // CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "Type0",{{.*}}, baseType: ![[V0]])