------- Comment #7 from pcarlini at suse dot de  2007-09-07 00:34 -------
Now in mainline things are better:

26698.C: In member function ‘X::operator X&() const’:
26698.C:25: error: invalid initialization of reference of type ‘X&’ from
expression of type ‘const X’

I'm not sure whether an error at line 28 is mandatory together with the above
one.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pcarlini at suse dot de


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

Reply via email to