1 // PR c++/88979 2 // { dg-do compile { target c++2a } } 3 4 template<typename T> 5 struct B { 6 B(T::type); 7 }; 8 9 template<typename T> 10 struct A { 11 A(T::type); 12 }; 13 14 template<typename T> A(T::type)15 A<T>::A(T::type) { } 16