blob: 37b26895e4b0414096048e0cf43ed833a5da0448 [file] [log] [blame]
// PR c++/80043
// { dg-options -fpermissive }
struct A
{
template<int> void foo()
{
void (A::* fp)();
fp = A::foo<0>; // { dg-warning "assuming pointer to member" }
}
};
void bar()
{
A().foo<0>();
}