llvm.org GIT mirror llvm / 5fc73d9 test / C++Frontend / 2003-11-02-WeakLinkage.cpp.tr
5fc73d9

Tree @5fc73d9 (Download .tar.gz)

2003-11-02-WeakLinkage.cpp.tr @5fc73d9raw · history · blame

// RUN: %llvmgcc -xc++ -S -o - %s | grep weak

template<class T>
void thefunc();

template<class T>
inline void thefunc() {}

void test() {
  thefunc<int>();
}