// { dg-do compile { target c++11 } } // PR C++/95263 // ICE on alias template instantiation template class TPL { template using INT = int; }; template class Klass { public: template using ALIAS = typename TPL::INT; template static void FUNC (); // OK template static ALIAS FUNC (); // SFINAE ICE }; void Fn () { Klass::FUNC<0> (); }