// PR c++/23055 template struct S { typedef int type; }; template int foo(T, typename S::type * ret); int j = foo(1, 0);