// DR 1710 - Missing template keyword in class-or-decltype // { dg-do compile { target c++14 } } template struct S { template struct A; template using U = typename A::foo; }; template typename S<1>::U::type a; template typename S<1>::template U::type a2;