home *** CD-ROM | disk | FTP | other *** search
- 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
- From: willoch@oslo.sgp.slb.com (thorbjorn willoch)
- Newsgroups: gnu.g++.bug
- Subject: Please report this to `bug-g++@prep.ai.mit.edu'.
- Date: 26 Jan 1993 21:50:11 -0500
- Organization: GNUs Not Usenet
- Lines: 19
- Sender: daemon@cis.ohio-state.edu
- Approved: bug-g++@prep.ai.mit.edu
- Distribution: gnu
- Message-ID: <9301260846.AA00548@geos01>
-
- gcc-2.3 -x c++ t.c -traditional
- t.c:1: warning: all member functions in class `a' are private
- t.c:1: warning: class `a' only defines private constructors and has no friends
- t.c: In function `int f (...)':
- t.c:4: Internal compiler error.
- t.c:4: Please report this to `bug-g++@prep.ai.mit.edu'.
-
-
- t.c:
- class a { int b; a(){} };
- int f()
- {
- a *aa= new a[100];
- delete [100] aa;
- }
-
-
- Thorbjorn
-
-