template <typename T> struct X { template <typename U> using Y = U; }; template <typename T> struct Other { using Type = ::template X<T>::typename Y<T>; }; using ForceInstantiation = Other<int>::Type;
Standard input is empty
prog.cpp:11:30: error: expected ‘;’ before ‘::’ token
using Type = ::template X<T>::typename Y<T>;
^
prog.cpp:11:32: error: expected id-expression before ‘typename’
using Type = ::template X<T>::typename Y<T>;
^
Standard output is empty