add an explanatory comment.
[oota-llvm.git] / test / C++Frontend / 2003-11-02-WeakLinkage.cpp.tr
1 // RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
2 // XFAIL: llvmgcc4
3 // The template should compile to linkonce linkage, not weak linkage.
4
5 template<class T>
6 void thefunc();
7
8 template<class T>
9 inline void thefunc() {}
10
11 void test() {
12   thefunc<int>();
13 }
14