You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
308 B
16 lines
308 B
// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
|
|
|
|
template<typename T>
|
|
struct XF {
|
|
T member;
|
|
};
|
|
|
|
template<typename T>
|
|
T fx(XF<T> xi) {
|
|
return xi.member;
|
|
}
|
|
|
|
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "XF<int>"
|
|
// CHECK: !DITemplateTypeParameter(name: "T"
|
|
template int fx(XF<int>);
|