home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / g / bug / 2342 < prev    next >
Encoding:
Text File  |  1993-01-28  |  887 b   |  32 lines

  1. Path: sparky!uunet!stanford.edu!agate!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!oslo.sgp.slb.com!willoch
  2. From: willoch@oslo.sgp.slb.com (thorbjorn willoch)
  3. Newsgroups: gnu.g++.bug
  4. Subject: Please report this to `bug-g++@prep.ai.mit.edu'.
  5. Date: 26 Jan 1993 21:50:11 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 19
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-g++@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301260846.AA00548@geos01>
  12.  
  13. gcc-2.3 -x c++ t.c -traditional
  14. t.c:1: warning: all member functions in class `a' are private
  15. t.c:1: warning: class `a' only defines private constructors and has no friends
  16. t.c: In function `int  f (...)':
  17. t.c:4: Internal compiler error.
  18. t.c:4: Please report this to `bug-g++@prep.ai.mit.edu'.
  19.  
  20.  
  21. t.c:
  22. class a { int b; a(){} };
  23. int f()
  24. {
  25.  a *aa= new a[100];
  26. delete [100] aa;
  27. }
  28.  
  29.  
  30. Thorbjorn 
  31.  
  32.