------- Comment #2 from pluto at agmk dot net  2010-05-26 17:30 -------
on gcc-4.5 we get this:

$ g++ -Wall test.cpp 
test.cpp:9:43: warning: 'fastcall' attribute ignored
test.cpp:18:45: warning: 'fastcall' attribute ignored
test.cpp:18:46: error: redefinition of 'template<class T> void p(T (*)())'
test.cpp:13:20: error: 'template<class T> void p(T (*)())' previously declared
here


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44282

Reply via email to