diff options
-rw-r--r-- | test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr | 12 |
1 files changed, 12 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 new file mode 100644 index 0000000000..4671b40a9e --- /dev/null +++ b/test/C++Frontend/2003-11-02-WeakLinkage.cpp.tr @@ -0,0 +1,12 @@ +// RUN: %llvmgcc -xc++ -S -o - %s | not grep weak + +template<class T> +void thefunc(); + +template<class T> +inline void thefunc() {} + +void test() { + thefunc<int>(); +} + |