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

llvm-svn: 280780
This commit is contained in:
Eric Fiselier 2016-09-07 03:50:36 +00:00
parent a77bb8ef34
commit 94b812ac77
1 changed files with 1 additions and 1 deletions

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;