1 // PR c++/79205
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
4
5 #include <tuple>
6
7 int
foo(std::tuple<int> t)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 }
13