1 2 3 4 5 6 7 8 9
// PR c++/60345 struct C {}; struct J : C {}; struct A { operator J* (); }; A p; C* const& q = p;