// PR c++/86171 // { dg-do compile { target c++11 } } template struct A; template using B = typename A::X; template struct A { typedef int X; typedef B U; }; B b;