Avoid compile error by giving the test type a user defined default constructor

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@280780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-09-07 03:50:36 +00:00
parent ac655ef742
commit 3a3836f6bc

View File

@@ -20,7 +20,7 @@
using std::experimental::optional;
struct AllowConstAssign {
AllowConstAssign() = default;
AllowConstAssign() {}
AllowConstAssign(AllowConstAssign const&) {}
AllowConstAssign const& operator=(AllowConstAssign const&) const {
return *this;