mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
bc61e661bd
commit
766be1de9d
12
test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
Normal file
12
test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
Normal 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>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user