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" }
}