(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
decomp26.C
// PR c++/79654
// { dg-do compile { target c++11 } }
// { dg-options "" }

template<typename T> T &make();	// { dg-warning "structured bindings only available with" "" { target c++14_down } .+1 }
auto [d1, d2] = make<int>();	// { dg-error "cannot decompose non-array non-class type" }