clang/test/Modules/gmodules-deduction-guide.cpp
raw| 1 | // REQUIRES: asserts |
| 2 | |
| 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 |
| 7 | |
| 8 | // CHECK: ![[V0:.*]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "S<A>", |
| 9 | // CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "Type0",{{.*}}, baseType: ![[V0]]) |