------- Comment #7 from pinskia at gcc dot gnu dot org 2006-06-15 16:19 -------
(In reply to comment #6)
> e.c:1: error: previous declaration of 'int i' with 'C++' linkage
> e.c:4: error: conflicts with new declaration with 'C' linkage
>
> extern int i;
> extern "C" {
> extern int i;
> }Not this is a confirmation that the above is invalid code but EDG also errors out. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227
