Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-fn-template.cpp
blob2aed4bef71c8ed26e8680b18c24850203b5dc014
1 // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
3 template<typename T>
4 struct XF {
5 T member;
6 };
8 template<typename T>
9 T fx(XF<T> xi) {
10 return xi.member;
13 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "XF<int>"
14 // CHECK: !DITemplateTypeParameter(name: "T"
15 template int fx(XF<int>);