From 1ecaf589db96cd981feaa78c9c55244732fb0cad Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 30 Aug 2019 17:25:20 +0100 Subject: [PATCH] Fix errors in new test * testsuite/23_containers/vector/cons/89164_c++17.cc: Fix errors. From-SVN: r275204 --- libstdc++-v3/ChangeLog | 4 ++++ .../testsuite/23_containers/vector/cons/89164_c++17.cc | 6 ++++++ 2 files changed, 10 insertions(+) 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]; -- 2.30.2