diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z/decomp19.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/decomp19.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1z/decomp19.C b/gcc/testsuite/g++.dg/cpp1z/decomp19.C index e392e658e27..e7d7abfce7c 100644 --- a/gcc/testsuite/g++.dg/cpp1z/decomp19.C +++ b/gcc/testsuite/g++.dg/cpp1z/decomp19.C @@ -8,6 +8,6 @@ main () int x = 99; struct S { int &x; }; S s{x}; - auto [p] = s; // { dg-warning "decomposition declaration only available with" "" { target c++14_down } } + auto [p] = s; // { dg-warning "structured bindings only available with" "" { target c++14_down } } return p - 99; } |