Debian Codegraph @

gcc/testsuite/g++.dg/other/fold1.C

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