1// PRMS Id: 5190 2// Bug: g++ fails to build up a const reference to `this'. 3// Build don't link: 4 5class X 6{ 7public: 8 void member (); 9}; 10 11void print (const X* const &); 12 13void X::member () 14{ 15 print (this); 16} 17