blob: 27406e1e37f95e831d23df3a3df9906bb36b1b58 (
plain)
1
2
3
4
5
6
7
8
|
// 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 }
}
|