1 // { dg-do compile { target c++11 } }
2 // { dg-options "" }
3 
4 struct A { char a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r; } a[64];
5 
6 void
foo()7 foo ()
8 {
9   int z = 0;
10   for (auto & [ b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s ] : a)	// { dg-warning "structured bindings only available with" "" { target c++14_down } }
11     z += b + c + d + e + f + g + h + i + j + k + l + m + n + o + p + q + r + s;
12 }
13