1 // PR c++/23055
2 
3 template <class> struct S { typedef int type; };
4 
5 template <class T>
6 int foo(T, typename S<T>::type * ret);
7 
8 int j = foo(1, 0);
9