// PR c++/64455 // { dg-do compile { target c++14 } } template constexpr bool IsType = true; template struct Test { }; template struct Test { typedef T type; }; template struct X { typedef typename Test,T>::type type; }; int main() { X::type t; }