repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
According to my auto-simplifier the most common missed simplifications in
[llvm/stm8.git]
/
test
/
FrontendC++
/
2003-11-02-WeakLinkage.cpp
blob
748ca6385be9491f33df07ddbc2850d2caaec04a
1
// RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
2
// The template should compile to linkonce linkage, not weak linkage.
3
4
template
<
class
T
>
5
void
thefunc
();
6
7
template
<
class
T
>
8
inline
void
thefunc
() {}
9
10
void
test
() {
11
thefunc
<
int
>();
12
}
13