From: Jonathan Wakely Date: Fri, 30 Aug 2019 16:25:20 +0000 (+0100) Subject: Fix errors in new test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ecaf589db96cd981feaa78c9c55244732fb0cad;p=gcc.git Fix errors in new test * testsuite/23_containers/vector/cons/89164_c++17.cc: Fix errors. From-SVN: r275204 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cf0565a7dfc..3bc86cb190c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2019-08-30 Jonathan Wakely + + * testsuite/23_containers/vector/cons/89164_c++17.cc: Fix errors. + 2019-08-30 Uros Bizjak * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/89164_c++17.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/89164_c++17.cc index 8b3afba4867..db7d8d5c850 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/89164_c++17.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/89164_c++17.cc @@ -22,6 +22,12 @@ // PR libstdc++/89164 +struct X +{ + X() = default; + X(const X&) = delete; +}; + void test01() { X x[1];