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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
codegen-extern-template.h
blob
56ee0369ad8cfdd8fe756c3a12ad35a289186468
1
// header for codegen-extern-template.cpp
2
#ifndef CODEGEN_EXTERN_TEMPLATE_H
3
#define CODEGEN_EXTERN_TEMPLATE_H
4
5
template
<
typename T
>
6
inline
T
foo
() {
return
10
; }
7
8
extern template
int
foo
<
int
>();
9
10
inline
int
bar
() {
return
foo
<
int
>(); }
11
12
#endif