1 // PR c++/54310 2 3 template <typename T> 4 struct meta 5 { 6 typedef typename T::type type; 7 }; 8 9 struct S{}; 10 11 template <typename T> 12 typename meta<T>::type foo(T, S); 13 14 int foo(int, int); 15 main()16 int main() 17 { 18 foo(0, 0); 19 } 20