// PR c++/64297 // { dg-do compile { target c++11 } } struct A { typedef int X; template X m_fn1() const; }; template struct is_function {}; is_function i; struct D { template > D(Y); } b(&A::m_fn1<0>);