other/7480: ??

dineshvr@yahoo.com dineshvr@yahoo.com
Sat Aug 3 11:06:00 GMT 2002


>Number:         7480
>Category:       other
>Synopsis:       ??
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 03 11:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     dineshvr@yahoo.com
>Release:        2.95.3-6
>Organization:
>Environment:
Windows XP
>Description:

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test.cpp"
Content-Disposition: inline; filename="test.cpp"

#include <iostream.h>

class A {
   public:
      int i ;
      A *a ;
      A(int i=1){this->i=i;}
      A (A * a) {this->a=a;}
} ;
int main() {
   A a(new A) ;
   cout << a.*a.i ;
   return 0;
}




More information about the Gcc-bugs mailing list