☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
fold1.C
☽
☼
gcc/testsuite/g++.dg/other/fold1.C
code
plain
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
};