template <typename T> struct X { template <typename U> using Y = U; }; template <typename T> struct Other { using Type = ::template X<T>::Y<T>; }; using ForceInstantiation = Other<int>::Type;
Standard input is empty
prog.cpp:11:30: error: expected ‘;’ before ‘::’ token
using Type = ::template X<T>::Y<T>;
^
prog.cpp:11:30: error: ‘Y’ in namespace ‘::’ does not name a type
Standard output is empty