blob: 5bd32ac890db2dfab065f44766529818c8160bb8 [file] [log] [blame]
// PR c++/98441
// { dg-do compile { target c++11 } }
struct a {
int& mfn();
};
void fn()
{
int& (a::*myvar1)(void) = &a::mfn;
auto& (a::*myvar2)(void) = &a::mfn;
auto (a::*myvar3)(void) = &a::mfn;
}