Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
array0.C
blob: 235cdf0deb910fc3e9254fcfdc9b0ac83f643dc4 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "" }
// PR C++/24138
void
foo
()
{
typedef
struct
{
unsigned
char
dir
;
int
data
[
0
];
}
yanito
;
static
const
yanito horse
=
{
1
,
{
2
,
3
}
};
// { dg-error "too many" }
}