multiple definitions of identifiers with external linkage
Steve Emmerson
steve at groucho.ucar.edu
Wed Nov 29 02:00:12 AEST 1989
eggert at twinsun.com (Paul Eggert) writes:
>Thus, the following program is strictly conforming even though it's
>``obviously'' wrong:
> int F(){return 0;}
> int F(){return 1;}
> int V = 0;
> int V = 1;
> int main(){return 0;}
That's right. pANS C -- just like the old C -- still allows you to
write nonsense programs.
But, ah..., why would you want to?
-----
Steve Emmerson steve at unidata.ucar.edu
More information about the Comp.std.c
mailing list