Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
3d8c358456572d1722ee0ac8e3609299d0373302
/
.
/
test
/
C++Frontend
/
2003-11-02-WeakLinkage.cpp.tr
blob: 748ca6385be9491f33df07ddbc2850d2caaec04a [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
// The template should compile to linkonce linkage, not weak linkage.
template
<
class
T
>
void
thefunc
();
template
<
class
T
>
inline
void
thefunc
()
{}
void
test
()
{
thefunc
<int>
();
}