blob: 2aed4bef71c8ed26e8680b18c24850203b5dc014 [file] [log] [blame]
Devang Patelb87c4282011-04-05 22:54:11 +00001// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
2
3template<typename T>
4struct XF {
5 T member;
6};
7
8template<typename T>
9T fx(XF<T> xi) {
10 return xi.member;
11}
12
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +000013// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "XF<int>"
14// CHECK: !DITemplateTypeParameter(name: "T"
Devang Patelb87c4282011-04-05 22:54:11 +000015template int fx(XF<int>);