The 'thefunc' function should not have weak linkage, it should have linkonce linkage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-02 06:30:39 +00:00
parent bc61e661bd
commit 766be1de9d

View File

@ -0,0 +1,12 @@
// RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
template<class T>
void thefunc();
template<class T>
inline void thefunc() {}
void test() {
thefunc<int>();
}