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