3 // { dg-options "-std=c++2a" }
5 struct A { int i; long long j; } a[64];
10 for (int i = 0; auto &x : a)
15 for (auto & [ x, y ] : a)
20 for (int i = 0; const auto [ u, v ] : a)
22 if (u != i + 2 || v != 2 * i++ + 3)
25 for (int i = 0; auto [ x, y ] : a)
29 if (x != i + 6 || y != 2 * i++ + 8)
32 for (int i = 0; const auto x : a)
34 if (x.i != i + 2 || x.j != 2 * i++ + 3)