mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 11:10:12 +00:00
37aecc68ea
llvm-svn: 35955
14 lines
235 B
Plaintext
14 lines
235 B
Plaintext
// 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>();
|
|
}
|
|
|