// PR c++/13549 // We need to do arg-dep lookup for g(j) at instantiation time because // g is dependent, even though (j) is not; at that point we can find // g(h). template int g(int); class h{}; template int l(){h j; return g(j);} template int g(const h&); class j{}; int jj(){return l();}