1 struct A { }; 2 struct B : public A { }; 3 struct X { 4 operator B(); 5 }; 6 X x; 7 main()8 int main() 9 { 10 const A& r = x; 11 return 0; 12 } 13