From: Ville Voutilainen Date: Thu, 22 Sep 2016 11:01:29 +0000 (+0300) Subject: Fix tests on old arm platforms for optional. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a4c4f1273679f493dd513b3dc0e9e1952459bd4;p=gcc.git Fix tests on old arm platforms for optional. * testsuite/20_util/optional/77288.cc: Don't use exception_ptr. From-SVN: r240347 --- 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); }