aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr b/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
index 1e324caf2d..63dc88742f 100644
--- a/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
+++ b/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr
@@ -1,5 +1,6 @@
// 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();