Debian Codegraph @

gcc/testsuite/g++.dg/pr115605.C

raw
1 // { dg-do compile { target c++20 } }
2
3 #include <array>
4
5 int foo() {
6 int const tuple_size = 5;
7 std::array<int, 3> array {1, 2, 3};
8 auto [a, b, c] = array;
9 return c;
10 }