blob: 8d8df3de68eb368f12c7e6a954da71b033dcc312 [file] [log] [blame]
// PR middle-end/27384
// { dg-do compile }
struct A
{
static const int i = i; // { dg-error "not declared" }
int x[i]; // { dg-error "11:size of array .x. is not an integral constant-expression" }
};