forked from OSchip/llvm-project
The 'thefunc' function should not have weak linkage, it should have linkonce linkage.
llvm-svn: 9655
This commit is contained in:
parent
f4ad165e8b
commit
1f30e93306
|
@ -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>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue