blob: d19ca2d9b4f60c7abbd32ecc51a5a9c673f25b47 [file] [log] [blame]
// PR sanitizer/79589
// { dg-do compile { target c++17 } }
// { dg-options "-fsanitize=undefined" }
struct A { char a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r; } a[64];
void
foo ()
{
int z = 0;
for (auto & [ b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s ] : a)
z += b + c + d + e + f + g + h + i + j + k + l + m + n + o + p + q + r + s;
}