1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
Chris Lattner afae6b52c2 add an explanatory comment.
llvm-svn: 33565
2007-01-27 00:23:45 +00:00

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>();
}