Avoid compile error by giving the test type a user defined default constructor
authorEric Fiselier <eric@efcs.ca>
Wed, 7 Sep 2016 03:50:36 +0000 (03:50 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 7 Sep 2016 03:50:36 +0000 (03:50 +0000)
llvm-svn: 280780

libcxx/test/std/experimental/optional/optional.object/optional.object.assign/assign_value.pass.cpp

index 27aafe0..0215417 100644 (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;