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

llvm-svn: 9655
This commit is contained in:
Chris Lattner 2003-11-02 06:30:39 +00:00
parent f4ad165e8b
commit 1f30e93306
1 changed files with 12 additions and 0 deletions

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>();
}