a.cpp: void __attribute((stdcall))f1(){} void f2(){} template<typename F> void f(F f){f();} int main(){ f(f1); f(f2); } command: i686-pc-linux-gnu-g++-4.8.2 -Wall -Wextra a.cpp result: /tmp/ccWimXXE.s: Assembler messages: /tmp/ccWimXXE.s:84: Error: symbol `_Z1fIPFvvEEvT_' is already defined
Dup of bug 44282. *** This bug has been marked as a duplicate of bug 44282 ***