1 2 3 4 5 6 7 8
// PR c++/34397 template<typename T, int = T()[0]> struct A { typedef A<T> B; }; A<int> a; // { dg-error "subscripted|template|declaration" }