Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp23.C
blob: 9e9278050c980015f1c7f23336bc0d335689d475 [
file
] [
log
] [
blame
]
// PR c++/79205
// { dg-do compile { target c++11 } }
// { dg-options "" }
#include
<tuple>
int
foo
(
std
::
tuple
<int>
t
)
{
auto
[
x0
]
=
t
;
// { dg-warning "structured bindings only available with" "" { target c++14_down } }
return
x0
;
}