// DR 1710 - Missing template keyword in class-or-decltype // { dg-do compile } template struct A { template struct B { }; }; template struct D : A::B {}; template struct D2 : A::template B {};