blob: 00be3df37bb6f02ffa1ff26eb6c356748584dfc1 [file] [log] [blame]
// { dg-options "-fpermissive -w" }
struct A
{
template<int> void foo()
{
void (A::* fp)();
fp = A::foo<0>; // { dg-bogus "pointer to member" }
}
};
void bar()
{
A().foo<0>();
}