// PR middle-end/27384
// { dg-do compile }

struct A
{
    static const int i = i;  // { dg-error "not declared" }
    int x[i];                // { dg-error "integral constant-expression" }
};


syntax highlighted by Code2HTML, v. 0.9.1