1 // PR c++/84420 2 // { dg-do compile { target c++17 } } 3 main()4 int main(){ 5 int a[1]{}; 6 [&a]{ 7 auto [v] = a; 8 (void)v; 9 }(); 10 } 11