☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp23.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/decomp23.C
code
plain
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
}