Debian Codegraph @

gcc/testsuite/g++.dg/ext/stmtexpr15.C

raw
1 // PR c++/59097
2 // { dg-options "" }
3
4 void foo()
5 {
6 int x[({ return; })]; // { dg-error "could not convert" }
7 // { dg-error "9:size of array .x. has non-integral" "" { target *-*-* } .-1 }
8 }