1// 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
13// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "XF<int>"
14// CHECK: !DITemplateTypeParameter(name: "T"
15template int fx(XF<int>);
16