blob: c426f69a6d80892d75577aebfc02b7f33b5cdcd2 [file] [log] [blame]
// PR c++/51265
// { dg-do compile { target c++11 } }
struct Funny
{
int print(int);
};
template<typename X>
void c();
template<typename X, X ff>
void xx()
{
c<decltype(ff)>();
}
int main()
{
xx<int(Funny::*)(int), &Funny::print>();
}