1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// PR c++/67339 // { dg-do compile { target c++11 } } template < typename T> struct A { void foo(); template < typename S, typename W > using N = void (T::*)(S, W) const ; }; template < typename T> void A<T>::foo() { typename A<T>::template N<int, int> fun = &T::out; }