Fix errors in new test
authorJonathan Wakely <jwakely@redhat.com>
Fri, 30 Aug 2019 16:25:20 +0000 (17:25 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 30 Aug 2019 16:25:20 +0000 (17:25 +0100)
* testsuite/23_containers/vector/cons/89164_c++17.cc: Fix errors.

From-SVN: r275204

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/vector/cons/89164_c++17.cc

index cf0565a7dfc63786dbcc571d1e4b8996f316376e..3bc86cb190c39f270384039b241c3e134d396427 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-30  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/23_containers/vector/cons/89164_c++17.cc: Fix errors.
+
 2019-08-30  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
index 8b3afba48671c25dc296ecc0a1aec035edc2f649..db7d8d5c85014d83c63b7e3a5d3a4c75afe36c05 100644 (file)
 
 // PR libstdc++/89164
 
+struct X
+{
+  X() = default;
+  X(const X&) = delete;
+};
+
 void test01()
 {
   X x[1];