home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcb
- From: dcb@us-es.SEl.DE
- Subject: bug report
- Message-ID: <9211191723.AA16666@us-es.sel.de>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Thu, 19 Nov 1992 19:23:20 GMT
- Approved: bug-g++@prep.ai.mit.edu
- Lines: 27
-
- Hello there,
-
- Given the following code
-
- class A
- {
- public :
- A() ;
- ~A() ;
- private :
- } ;
-
- struct A1 {
- int A::* p ;
- } ;
-
- static A1 tbl[] ;
-
- then I think the last line is illegal, and most of the compilers
- I have access to agree with me. GNU 2.2.2 and GNU 2.3.1 think the code
- is ok. I didn't bother checking with the ARM, this time.
-
- Regards
-
- David C Binderman Dept US/ESI, Bau 60, SEL-Alcatel AG, Lorenz Strasse 10,
- D-7000 Stuttgart 40, Germany dcb@us-es.sel.de Tel: +49 711 821 3841
-
-