☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla22.C
☽
☼
gcc/testsuite/g++.dg/ext/vla22.C
code
plain
raw
1
// PR c++/93789 - ICE with invalid array bounds.
2
// { dg-do compile }
3
// { dg-options "" }
4
5
void
6
f ()
7
{
8
const int tbl[(long) "h"] = { 12 }; // { dg-error "size of array .tbl. is not an integral constant-expression" }
9
}