// PR c++/56543 template struct S; template struct U { typedef typename S ::template V <> W; S x; };