1 // PR c++/71121 2 // { dg-do compile { target c++14 } } 3 // { dg-options -Waddress } 4 5 struct CC { void mbr(); }; 6 getFunc()7constexpr auto getFunc() { 8 return &CC::mbr; 9 } 10 xxx(void (CC::* _a)())11constexpr bool xxx(void (CC::*_a)()) 12 { 13 constexpr auto f = getFunc(); 14 return (f == _a); 15 } 16