mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 13:21:30 +00:00
afae6b52c2
llvm-svn: 33565
15 lines
254 B
Plaintext
15 lines
254 B
Plaintext
// RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
|
|
// XFAIL: llvmgcc4
|
|
// 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>();
|
|
}
|
|
|