Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla22.C
blob: 2308ee748df0b2f4031793eec5728a952c41779d [
file
] [
log
] [
blame
]
// PR c++/93789 - ICE with invalid array bounds.
// { dg-do compile }
// { dg-options "" }
void
f
()
{
const
int
tbl
[(
long
)
"h"
]
=
{
12
};
// { dg-error "size of array .tbl. is not an integral constant-expression" }
}