1 // { dg-do compile { target c++11 } } 2 3 using size_t = decltype(sizeof(0)); 4 template <class T> struct A 5 { 6 using size_type = size_t; 7 }; 8 9 template <class T> 10 void f(size_t, T); 11 12 template <class T> 13 void f(typename A<T>::size_type, T); 14 main()15int main() 16 { 17 f(1,2); 18 } 19