Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/vla22.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 2b5abeee2509 |
children |
line wrap: on
line source
// 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" } }