mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
eb3cd5e822
llvm-svn: 51695
14 lines
235 B
C++
14 lines
235 B
C++
// 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>();
|
|
}
|
|
|