blob: c92b8497aff2c791eda1045cd1cc2e8ff1d92727 [file] [log] [blame]
// PR c++/40370
// { dg-do compile }
struct A
{
static int i;
};
template <int> struct B
{
int x[A::i]; // { dg-error "array bound is not an integer constant" }
};