This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/7480: ??
- From: dineshvr at yahoo dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 3 Aug 2002 18:01:05 -0000
- Subject: other/7480: ??
- Reply-to: dineshvr at yahoo dot com
>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;
}