Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!ncar!groucho!steve From: steve@groucho.ucar.edu (Steve Emmerson) Newsgroups: comp.std.c Subject: Re: multiple definitions of identifiers with external linkage Message-ID: <5465@ncar.ucar.edu> Date: 28 Nov 89 15:00:12 GMT References: <11193@riks.csl.sony.co.jp> <11693@smoke.BRL.MIL> <57@looney.twinsun.com> Sender: news@ncar.ucar.edu Lines: 18 eggert@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@unidata.ucar.edu