1*f4a2713aSLionel Sambuc // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc template<typename T> 4*f4a2713aSLionel Sambuc struct XF { 5*f4a2713aSLionel Sambuc T member; 6*f4a2713aSLionel Sambuc }; 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc template<typename T> fx(XF<T> xi)9*f4a2713aSLionel SambucT fx(XF<T> xi) { 10*f4a2713aSLionel Sambuc return xi.member; 11*f4a2713aSLionel Sambuc } 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc //CHECK: XF<int> 14*f4a2713aSLionel Sambuc //CHECK: DW_TAG_template_type_parameter 15*f4a2713aSLionel Sambuc template int fx(XF<int>); 16