☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp19.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/decomp19.C
code
plain
raw
1
// PR c++/78931
2
// { dg-do run { target c++11 } }
3
// { dg-options "" }
4
5
int
6
main ()
7
{
8
int x = 99;
9
struct S { int &x; };
10
S s{x};
11
auto [p] = s; // { dg-warning "structured bindings only available with" "" { target c++14_down } }
12
return p - 99;
13
}