1 // PR middle-end/27384 2 // { dg-do compile } 3 4 struct A 5 { 6 static const int i = i; // { dg-error "not declared" } 7 int x[i]; // { dg-error "11:size of array .x. is not an integral constant-expression" } 8 }; 9