4 template<typename> struct A
7 static const int i = 0;
10 template<typename> struct B
13 typedef typename A<char[A<B>::i]>::X Y; // { dg-error "forbids zero-size array" }
14 template<typename T> B(T, Y);
17 B<int> b(0,0); // { dg-message "required from here" }