3 // Dependent arrays of invalid size generate appropriate error messages
5 template<int I> struct A
7 static const int zero = 0;
8 static const int minus_one = -1;
11 template<int N> struct B
13 int x[A<N>::zero]; // { dg-error "zero" }
14 int y[A<N>::minus_one]; // { dg-error "negative" }