repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
debug-info-fn-template.cpp
blob
2aed4bef71c8ed26e8680b18c24850203b5dc014
1
// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
2
3
template
<
typename T
>
4
struct
XF
{
5
T member
;
6
};
7
8
template
<
typename T
>
9
T
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"
15
template
int
fx
(
XF
<
int
>);