* testsuite/20_util/optional/77288.cc: Don't use exception_ptr.
From-SVN: r240347
+2016-09-22 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ Fix tests on old arm platforms for optional.
+ * testsuite/20_util/optional/77288.cc: Don't use exception_ptr.
+
2016-09-22 Jonathan Wakely <jwakely@redhat.com>
* python/libstdcxx/v6/printers.py (StdVariantPrinter): Adjust for
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-#include <exception>
#include <optional>
#include <any>
void test01()
{
- optional<optional<std::exception_ptr>> nested_element;
- optional<std::exception_ptr> element = {};
+ optional<optional<int>> nested_element;
+ optional<int> element = {};
nested_element = element;
VERIFY(nested_element);
}