Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/decomp23.C

raw
1 // PR c++/79205
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
4
5 #include <tuple>
6
7 int
8 foo (std::tuple<int> t)
9 {
10 auto [x0] = t; // { dg-warning "structured bindings only available with" "" { target c++14_down } }
11 return x0;
12 }