PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr51488.C
blob794a6cfe067b33643305a6bb37a2124a05addb07
1 // PR c++/51488
3 template<class T,class U=void> struct s;
4 template<class T> struct s<T,typename s<T>::a> {};
5 s<int> ca;  // { dg-error "" }