From 8a4c4f1273679f493dd513b3dc0e9e1952459bd4 Mon Sep 17 00:00:00 2001 From: Ville Voutilainen Date: Thu, 22 Sep 2016 14:01:29 +0300 Subject: [PATCH] Fix tests on old arm platforms for optional. * testsuite/20_util/optional/77288.cc: Don't use exception_ptr. From-SVN: r240347 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/20_util/optional/77288.cc | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e9bb0ce0fa6..16a49549af4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2016-09-22 Ville Voutilainen + + Fix tests on old arm platforms for optional. + * testsuite/20_util/optional/77288.cc: Don't use exception_ptr. + 2016-09-22 Jonathan Wakely * python/libstdcxx/v6/printers.py (StdVariantPrinter): Adjust for diff --git a/libstdc++-v3/testsuite/20_util/optional/77288.cc b/libstdc++-v3/testsuite/20_util/optional/77288.cc index eafafb71639..0df74a9963c 100644 --- a/libstdc++-v3/testsuite/20_util/optional/77288.cc +++ b/libstdc++-v3/testsuite/20_util/optional/77288.cc @@ -18,7 +18,6 @@ // with this library; see the file COPYING3. If not see // . -#include #include #include @@ -28,8 +27,8 @@ using std::optional; void test01() { - optional> nested_element; - optional element = {}; + optional> nested_element; + optional element = {}; nested_element = element; VERIFY(nested_element); } -- 2.30.2