------- Comment #17 from paolo dot carlini at oracle dot com 2009-06-04 14:49 ------- Interestingly, the only current compiler I tried which actually accepts this (SunStudio) warns:
"2316.C", line 8: Warning: function int(int(*)()) overloads extern "C" int(extern "C" int(*)()) because of different language linkages. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316