blob: 27406e1e37f95e831d23df3a3df9906bb36b1b58 [file] [log] [blame]
// PR c++/59097
// { dg-options "" }
void foo()
{
int x[({ return; })]; // { dg-error "could not convert" }
// { dg-error "9:size of array .x. has non-integral" "" { target *-*-* } .-1 }
}