Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/cpp1z/decomp41.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 // PR c++/85208 |
2 // { dg-do compile { target c++11 } } | |
3 // { dg-require-weak "" } | |
4 // { dg-options "" } | |
5 | |
6 #pragma weak _ZDC1d1e1fE | |
7 struct A { int i, j, k; }; | |
8 auto [a, b, c] = A (); // { dg-warning "structured bindings only available with" "" { target c++14_down } } | |
9 auto [d, e, f] = A (); // { dg-warning "structured bindings only available with" "" { target c++14_down } } |