// 13.1: ...cannot be overloaded if any of them, but not all, have a// ref-qualifier.// { dg-require-effective-target c++11 }class Y {voidh() &;voidh()const&;// OKvoidh() &&;// OK, all declarations have a ref-qualifiervoidi() &;// { dg-message "" }voidi()const;// { dg-error "" } prior declaration of i// has a ref-qualifier};