This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2003-11-02-WeakLinkage.cpp
blob748ca6385be9491f33df07ddbc2850d2caaec04a
1 // RUN: %llvmgcc -xc++ -S -o - %s | not grep weak
2 // The template should compile to linkonce linkage, not weak linkage.
4 template<class T>
5 void thefunc();
7 template<class T>
8 inline void thefunc() {}
10 void test() {
11 thefunc<int>();