------- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-29 01:38 -------
int t1;
int t2;

int * a = &t1;
int const * const & b = a;
----
This does something different than you think.
It creates a temparory variable for the type, "const int *" as you need to
first convert a to that and then to "const int * const" as "const int * const"
is not compatiable with "int *".


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26011

Reply via email to