Sign in
gnu
/
gcc
/
c9c99aefed96db2474038c9ba1fbeb684850986a
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
fold1.C
blob: 25f9accc41d15ae5781c4aa5d6bdc00e1155bb34 [
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 "9:size of array .x. is not an integral constant-expression" }
};