blob: 9b69452d1d66bcde6490393306a0471f3319b640 [file] [log] [blame]
// PR c++/60227
// { dg-do compile { target c++1y } }
void foo(int n)
{
int a[n];
int (&r)[n] = {}; // { dg-error "" }
}