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