blob: 08a1b8730c0507f9095725b61f55bfc2d110ffe7 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// PR C++/95263
// ICE on alias template instantiation
template <typename> class TPL {
template <int> using INT = int;
};
template <typename T> class Klass
{
public:
template <int I> using ALIAS = typename TPL<T>::INT<I>;
template <int> static void FUNC (); // OK
template <int I, typename> static ALIAS<I> FUNC (); // SFINAE ICE
};
void Fn ()
{
Klass<int>::FUNC<0> ();
}