summaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2003-11-02-WeakLinkage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC++/2003-11-02-WeakLinkage.cpp')
-rw-r--r--test/FrontendC++/2003-11-02-WeakLinkage.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/FrontendC++/2003-11-02-WeakLinkage.cpp b/test/FrontendC++/2003-11-02-WeakLinkage.cpp
deleted file mode 100644
index 748ca63..0000000
--- a/test/FrontendC++/2003-11-02-WeakLinkage.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-// 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>();
-}
-
OpenPOWER on IntegriCloud