blob: 97f88fefc6e8abd50af8c6fbfbc0177900f83882 [file] [log] [blame]
// { dg-do compile { target c++11 } }
int a[2] = { 1, 2 };
int main()
{
auto &r = a;
static_assert (&r[0] == &a[0], "");
}