// PR c++/81917 // { dg-do compile { target c++11 } } template using a = void; template struct b { typedef int c; }; template class b>; template ::c> class f; template class g { }; template class h { class i; typedef g> j; class i { j k; // { dg-error "incomplete" } }; }; h H;